mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-08-29 09:49:33 +03:00
Fix handling of backspace key in serial console (bz 217596)
This commit is contained in:
@ -41,6 +41,9 @@ class vmmSerialConsole:
|
||||
self.terminal.set_scrollback_lines(1000)
|
||||
self.terminal.set_audible_bell(False)
|
||||
self.terminal.set_visible_bell(True)
|
||||
# XXX python VTE binding has bug failing to register constants
|
||||
#self.terminal.set_backspace_binding(vte.ERASE_ASCII_BACKSPACE)
|
||||
self.terminal.set_backspace_binding(1)
|
||||
|
||||
self.terminal.connect("commit", self.send_data)
|
||||
self.terminal.show()
|
||||
|
Reference in New Issue
Block a user