summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-13 00:25:01 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-13 00:25:01 +0000
commit78ff11afb122220e5000786dcbd13e224dabccec (patch)
tree29c459b2d8c2deb8319c043d9869d86c53f9abcf /src
parent9a88c02142a47bd1dc09db5815566ae26e55659c (diff)
downloadpoezio-78ff11afb122220e5000786dcbd13e224dabccec.tar.gz
poezio-78ff11afb122220e5000786dcbd13e224dabccec.tar.bz2
poezio-78ff11afb122220e5000786dcbd13e224dabccec.tar.xz
poezio-78ff11afb122220e5000786dcbd13e224dabccec.zip
FOR ♥MATHIEUI♥ : Show the cursor in the input window
Diffstat (limited to 'src')
-rw-r--r--src/window.py4
1 files changed, 1 insertions, 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 = []