summaryrefslogtreecommitdiffstats
path: root/include/ui/gtk.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-12-17 13:47:02 +0100
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:28:24 -0600
commitfe205d0b576d819ddd2964fab7bc14f8aec79c9f (patch)
tree9d056e4d86a25b48d0e4226dba80937cc0eaa246 /include/ui/gtk.h
parentf77ccbbab130908ae9d2c49a75218ef348d5164d (diff)
downloadhqemu-fe205d0b576d819ddd2964fab7bc14f8aec79c9f.zip
hqemu-fe205d0b576d819ddd2964fab7bc14f8aec79c9f.tar.gz
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/gtk.h')
-rw-r--r--include/ui/gtk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/gtk.h b/include/ui/gtk.h
index bf289cf..2bf60f3 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
OpenPOWER on IntegriCloud