parent
da2b8a0bcf
commit
ed33e7739a
|
@ -219,6 +219,10 @@ class Application(object):
|
|||
self.win = curses.newwin(self.y, self.x, 0, 0)
|
||||
self.win.leaveok(0)
|
||||
curses.meta(1)
|
||||
curses.nocbreak()
|
||||
curses.noecho()
|
||||
curses.nonl()
|
||||
curses.noraw()
|
||||
curses.halfdelay(1)
|
||||
|
||||
def globals(self):
|
||||
|
|
|
@ -13,12 +13,16 @@ MAP = { 0: "C-@",
|
|||
5: "C-e",
|
||||
6: "C-f",
|
||||
7: "C-g",
|
||||
#8: "C-h",
|
||||
8: "BACKSPACE",
|
||||
#9: "C-i",
|
||||
9: "TAB",
|
||||
#10: "C-j",
|
||||
10: "RETURN",
|
||||
11: "C-k",
|
||||
12: "C-l",
|
||||
13: "C-m",
|
||||
#13: "C-m",
|
||||
13: "RETURN",
|
||||
14: "C-n",
|
||||
15: "C-o",
|
||||
16: "C-p",
|
||||
|
|
Loading…
Reference in New Issue