fix C-x
This commit is contained in:
parent
6b99559819
commit
f9de0818a8
|
@ -24,9 +24,9 @@ from urwid import WidgetWrap
|
||||||
class BaseView(WidgetWrap):
|
class BaseView(WidgetWrap):
|
||||||
def keypress(self, size, key):
|
def keypress(self, size, key):
|
||||||
if key == 'esc':
|
if key == 'esc':
|
||||||
self.signal.prev_signal()
|
self.controller.signal.prev_signal()
|
||||||
return None
|
return None
|
||||||
if key in ['ctrl x']:
|
if key in ['ctrl x']:
|
||||||
self.signal.emit_signal('control-x-quit')
|
self.controller.signal.emit_signal('control-x-quit')
|
||||||
|
|
||||||
return super().keypress(size, key)
|
return super().keypress(size, key)
|
||||||
|
|
Loading…
Reference in New Issue