]> git.baikalelectronics.ru Git - kernel.git/commit
tty: vt: fix up tabstops properly
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 24 Mar 2018 09:43:26 +0000 (10:43 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 25 Mar 2018 17:04:00 +0000 (07:04 -1000)
commitdc4fdc9f0dd1b1e8d58860acb0b691514f5d51c7
tree883d7bb703bbd9a5280e0fb1c644f7b57acb6915
parentdbf6ff2b4cdef377f9c8e953570578fe45cf6262
tty: vt: fix up tabstops properly

Tabs on a console with long lines do not wrap properly, so correctly
account for the line length when computing the tab placement location.

Reported-by: James Holderness <j4_james@hotmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/tty/vt/vt.c