Arduino serial terminal converts tabs into spaces

Sysprogs forums Forums VisualGDB Arduino serial terminal converts tabs into spaces

This topic contains 1 reply, has 2 voices, and was last updated by  support 5 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #25610


    Is there a way to make VisualGDB Arduino serial terminal NOT to convert tabs into spaces in the terminal output? Conversion of tabs into sequences of spaces makes it impossible to quickly copy-paste terminal output into Excel for analysis (because Excel only breaks down the data into columns when it sees tabs, not spaces during paste operation). It would be nice to have an option to switch between the raw output and output where the terminal interprets tabs the way it wants.



    Sorry, this is by design. The tab semantics for Unix terminals is fairly complex (e.g. it can be altered via the ANSI escape sequences and it’s also possible to start overwriting text in the middle of a tab break), so VisualGDB automatically translates all terminal input it receives into a simple 2-dimensional matrix of characters and attributes.

    We might be able to add a special attribute tracking whether a group of spaces was created in response to a tab symbol, but realistically we won’t be able to do it until the next major redesign of the terminal logic (that is not on the radar yet), sorry.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.