branch : pmacs2
This commit is contained in:
moculus 2007-08-12 22:04:00 +00:00
parent da2b8a0bcf
commit ed33e7739a
2 changed files with 9 additions and 1 deletions

View File

@ -219,6 +219,10 @@ class Application(object):
self.win = curses.newwin(self.y, self.x, 0, 0) self.win = curses.newwin(self.y, self.x, 0, 0)
self.win.leaveok(0) self.win.leaveok(0)
curses.meta(1) curses.meta(1)
curses.nocbreak()
curses.noecho()
curses.nonl()
curses.noraw()
curses.halfdelay(1) curses.halfdelay(1)
def globals(self): def globals(self):

View File

@ -13,12 +13,16 @@ MAP = { 0: "C-@",
5: "C-e", 5: "C-e",
6: "C-f", 6: "C-f",
7: "C-g", 7: "C-g",
#8: "C-h",
8: "BACKSPACE", 8: "BACKSPACE",
#9: "C-i",
9: "TAB", 9: "TAB",
#10: "C-j",
10: "RETURN", 10: "RETURN",
11: "C-k", 11: "C-k",
12: "C-l", 12: "C-l",
13: "C-m", #13: "C-m",
13: "RETURN",
14: "C-n", 14: "C-n",
15: "C-o", 15: "C-o",
16: "C-p", 16: "C-p",