summaryrefslogtreecommitdiff
path: root/src/window.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-07 23:36:57 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-07 23:36:57 +0000
commitf8ab739a36f7599f4f84590694c02ff3e0f2dd71 (patch)
tree87ec4c833900da6f9c95b9a135be761de9d98e36 /src/window.py
parent7d7f585ed6640d73de9cfcfbe84a56e2ec4d6a5f (diff)
downloadpoezio-f8ab739a36f7599f4f84590694c02ff3e0f2dd71.tar.gz
poezio-f8ab739a36f7599f4f84590694c02ff3e0f2dd71.tar.bz2
poezio-f8ab739a36f7599f4f84590694c02ff3e0f2dd71.tar.xz
poezio-f8ab739a36f7599f4f84590694c02ff3e0f2dd71.zip
do not require argparse anymore, chmod in the directory in the python process directly, fix a little bit the Mafile
Diffstat (limited to 'src/window.py')
-rw-r--r--src/window.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.py b/src/window.py
index b4db51eb..16820b8f 100644
--- a/src/window.py
+++ b/src/window.py
@@ -113,7 +113,7 @@ class Topic(Win):
g_lock.acquire()
self.win.erase()
if not jid:
- self.win.addnstr(0, 0, topic[:self.width], curses.color_pair(theme.COLOR_TOPIC_BAR))
+ self.win.addnstr(0, 0, topic[:self.width-1], curses.color_pair(theme.COLOR_TOPIC_BAR))
while True:
try:
self.win.addch(' ', curses.color_pair(theme.COLOR_TOPIC_BAR))
@@ -167,7 +167,7 @@ class RoomInfo(Win):
break
(y, x) = self.win.getyx()
self.win.addstr(y, x-1, '] '+ current.name, curses.color_pair(theme.COLOR_INFORMATION_BAR))
- self.print_scroll_position(current)
+# self.print_scroll_position(current)
while True:
try:
self.win.addstr(' ', curses.color_pair(theme.COLOR_INFORMATION_BAR))