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 kaoutsis, 17 years ago

Component: - GeneralApplications/Terminal
Owner: changed from axeld to jackburton

revision is hrev25459

comment:2 by stim, 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.

in reply to:  2 comment:3 by kaoutsis, 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 bonefish, 16 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.