tty vt: Fix a regression in command line edition
The commit 81732c3b ("Fix line garbage in virtual console on command line edition") made a regression with some machines: some characters were not erased after line edition. This patch adjusts the number of moved characters and the size of the region to be updated. Signed-off-by: NJean-François Moine <moinejf@free.fr> Tested-by: NKrzysztof Mazur <krzysiek@podlesie.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录