GNOME Bugzilla – Bug 545869
terminal does not handle tab character in last column correctly
Last modified: 2008-08-05 18:02:10 UTC
this report has been filed here: https://bugs.edge.launchpad.net/ubuntu/+source/vte/+bug/253579 "If a line has a tab character in the last column, gnome-terminal does not display the tab. To reproduce: > python -c 'print "x"*79 + "\tABC"' (Assuming that your terminal width is 80 characters.) Expected behavior: The terminal should display 79 "x"s and one tab character in the first line, and the letters "ABC" in the continuation line. Actual behavior: The terminal displays 79 "x"s and the letter "A" in the first line, and the letters "BC" in the continuation line. The tab character is lost. I am using hardy (updated from a fresh install of gutsy) with 2.22.1-0ubuntu2. *This may not be a bug in gnome-terminal* - xterm shows the same behavior." Thanks,
Yeah, I fixed tab handling code in vte to match that of xterm. That is, a tab character does nothing at the end of line. I'm inclined to keep it as is.
Do you know why xterm does it this way? Isn't this a bug in xterm as well?
Bug 340631 is the reason I changed it.
But what's the reason not to fix this bug?
People have generally liked vte to behave like xterm, as that's what everyone tests their application against.