]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <alexander.levin@microsoft.com>
Wed, 23 May 2018 01:33:53 +0000 (21:33 -0400)
commit781ff2f44d1b85c22527d0e64a5961c594338925
treec4b8d23cbf7021e611bd7216c1980f75a0f4fa27
parent7cd55433682315d37976b3430b2bd76978d4e995
tty: vt: fix up tabstops properly

[ Upstream commit f1869a890cdedb92a3fab969db5d0fd982850273 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
drivers/tty/vt/vt.c