Opened 17 years ago
Closed 16 years ago
#2224 closed bug (invalid)
[Terminal] doesn't respect tabs when pasting a text in the prompt.
Reported by: | kaoutsis | Owned by: | jackburton |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Terminal | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
- Copy a text that include inside it one or more tabs.
- Paste that text to the terminal's prompt.
Tab(s) are missing.
Change History (4)
comment:1 by , 17 years ago
Component: | - General → Applications/Terminal |
---|---|
Owner: | changed from | to
follow-up: 3 comment:2 by , 16 years ago
I don't think this is a bug. It is just that bash uses tab for the complete operation. It doesn't matter whether the tab is pressed on the keyboard or pasted into the command line.
I have confirmed that this behaviour occurs on linux as well, and I uncommented some tracing in the Terminal app and saw that Terminal was handling the tab character correctly. Another way to see that tab is being handled correctly is that command line completion is working in Terminal.
comment:3 by , 16 years ago
Replying to stim:
I don't think this is a bug. It is just that bash uses tab for the complete operation. It doesn't matter whether the tab is pressed on the keyboard or pasted into the command line.
I have confirmed that this behaviour occurs on linux as well, and I uncommented some tracing in the Terminal app and saw that Terminal was handling the tab character correctly. Another way to see that tab is being handled correctly is that command line completion is working in Terminal.
I see you point. Yes, you are right about linux, i tested in gnome's terminal and the tabs are vanished also after paste; i still find a bit annoying. If none is annoyed by this behavior, i assume the ticket can be closed. Thanks for looking into this.
comment:4 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
revision is hrev25459