]> git.proxmox.com Git - qemu.git/commit - console.c
console: Fix console_putchar() for CSI J
authorMarkus Armbruster <armbru@redhat.com>
Tue, 22 Nov 2011 10:59:07 +0000 (11:59 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Tue, 6 Dec 2011 09:56:40 +0000 (09:56 +0000)
commit95d8f9f41c313c458dd34e0a54162c414a352111
tree3d80a75511c5a30db1869a0dbf381efbd0e43f07
parentf94a950f790aabb33fcb75f0a4a3bbaaa6e3810b
console: Fix console_putchar() for CSI J

It falls through to the code for CSI K.  "Erase Down" also does "Erase
End of Line", "Erase Up" also does "Erase Start of Line", and "Erase
Screen" also does "Erase Line".  Happens not to be visible.  Fix it
anyway.  Spotted by Coverity.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
console.c