diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-12-17 13:47:02 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-01-18 16:36:21 +0100 |
commit | fba958c692e47a373d15c1fd3d72b255bf76adbd (patch) | |
tree | 3aeb85c68422d785ff8574ca099c10f06b369c4b /include/ui | |
parent | 4aaddc2976bff1918edcd53900b647dde473dd4d (diff) | |
download | qemu-fba958c692e47a373d15c1fd3d72b255bf76adbd.tar.gz qemu-fba958c692e47a373d15c1fd3d72b255bf76adbd.tar.bz2 qemu-fba958c692e47a373d15c1fd3d72b255bf76adbd.zip |
gtk: implement set_echo
Even without line editing, this makes -qmp vc more pleasant with the
GTK+ backend. The only issue is that set_echo is invoked very early,
long before a vc is actually associated with a VirtualConsole. To work
around this, create a temporary VirtualConsole until then.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1450356422-31710-1-git-send-email-pbonzini@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/gtk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/gtk.h b/include/ui/gtk.h index bf289cff4c..2bf60f3ec5 100644 --- a/include/ui/gtk.h +++ b/include/ui/gtk.h @@ -61,6 +61,7 @@ typedef struct VirtualVteConsole { GtkWidget *scrollbar; GtkWidget *terminal; CharDriverState *chr; + bool echo; } VirtualVteConsole; #endif |