From ed33e7739a3c6d29b97eb5e7648b2d9df2f5d876 Mon Sep 17 00:00:00 2001 From: moculus Date: Sun, 12 Aug 2007 22:04:00 +0000 Subject: [PATCH] --HG-- branch : pmacs2 --- application.py | 4 ++++ keyinput.py | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/application.py b/application.py index 7007448..071a028 100755 --- a/application.py +++ b/application.py @@ -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): diff --git a/keyinput.py b/keyinput.py index e95eb97..3b031b8 100644 --- a/keyinput.py +++ b/keyinput.py @@ -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",