aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api/src
diff options
context:
space:
mode:
authorRoman Penyaev <r.peniaev@gmail.com>2025-02-26 08:59:11 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2025-03-05 09:34:14 +0400
commita97ef3624437c5a5fbc8bd45e2a206d10ca840be (patch)
tree693f0b8b7f1eb500dc98d9df119c520aa91247d8 /rust/qemu-api/src
parent1a0fd7838a9dddf91241bc9faa471dc9dec04329 (diff)
downloadqemu-a97ef3624437c5a5fbc8bd45e2a206d10ca840be.zip
qemu-a97ef3624437c5a5fbc8bd45e2a206d10ca840be.tar.gz
qemu-a97ef3624437c5a5fbc8bd45e2a206d10ca840be.tar.bz2
ui/console-vc: implement DCH (delete) and ICH (insert) commands
This patch implements DCH (delete character) and ICH (insert character) commands. DCH - Delete Character: "As characters are deleted, the remaining characters between the cursor and right margin move to the left. Character attributes move with the characters. The terminal adds blank spaces with no visual character attributes at the right margin. DCH has no effect outside the scrolling margins" [1]. ICH - Insert Character: "The ICH sequence inserts Pn blank characters with the normal character attribute. The cursor remains at the beginning of the blank characters. Text between the cursor and right margin moves to the right. Characters scrolled past the right margin are lost. ICH has no effect outside the scrolling margins" [2]. Without these commands console is barely usable. [1] https://vt100.net/docs/vt510-rm/DCH.html [1] https://vt100.net/docs/vt510-rm/ICH.html Signed-off-by: Roman Penyaev <r.peniaev@gmail.com> Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com> Cc: qemu-devel@nongnu.org Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-ID: <20250226075913.353676-6-r.peniaev@gmail.com>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions