Retain TAB (\t
) information on screen to recreate TAB on copy
#984
Labels
blocker:office
Bug reported by my colleges, and hence should be fixed ASAP. :)
enhancement
New feature or request
feature-request
User requested features
VT: Backend
Virtual Terminal Backend (libterminal API)
This came out as a consequence of #982. But #982 should focus on retaining lost spaces (which is a bug to be fixed)
This is about explicitly adding the feature to retain any written TAB character when being translated to spaces when being written to the screen.
Expected is (would be nice to have) to recreate the TAB character when copying it back out (e.g. to the clipboard).
Test case
While this yields
A B" on a single line on screen, when copying it back out, it must become
A\tB` again.I see pros and cons on both sides, so it might be interesting to have that feature configurable, such that users can decide what to do on tabs.
Configuration
Either via profile boolean flag or by extending the copy actions. But then the question would be how to distinguish this when using the vi normal mode.
Other Terminal's behaviour
didn't test much, but here we go:
printf "A\tB\n"
The text was updated successfully, but these errors were encountered: