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",