From 78ff11afb122220e5000786dcbd13e224dabccec Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Sun, 13 Jun 2010 00:25:01 +0000 Subject: [PATCH] =?UTF-8?q?FOR=20=E2=99=A5MATHIEUI=E2=99=A5=20:=20Show=20t?= =?UTF-8?q?he=20cursor=20in=20the=20input=20window?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/window.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/window.py b/src/window.py index 87b90259..1b5c57ce 100644 --- a/src/window.py +++ b/src/window.py @@ -252,9 +252,6 @@ class TextWin(Win): """ Write the date on the yth line of the window """ - # debug(str(self.win.getmaxyx())) - # debug(str(y)) - # debug('___________________') self.win.addnstr('['+time.strftime("%H"), 3) self.win.attron(curses.color_pair(9)) self.win.addnstr(':', 1) @@ -274,6 +271,7 @@ class Input(Win): """ def __init__(self, height, width, y, x, stdscr, visible): Win.__init__(self, height, width, y, x, stdscr) + curses.curs_set(1) self.win.leaveok(0) self.visible = visible self.history = []