Arduino serial terminal converts tabs into spaces

Sysprogs forums Forums VisualGDB Arduino serial terminal converts tabs into spaces

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

    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.

    #25611
    support
    Keymaster

    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.