home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c3c097
)
New client: Remove unneeded outcommented code.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 16 Dec 2015 00:20:00 +0000
(
01:20
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 16 Dec 2015 00:20:00 +0000
(
01:20
+0100)
client_prototype.py
patch
|
blob
|
history
diff --git
a/client_prototype.py
b/client_prototype.py
index baf42c95b683a45ab0b6a81480f23039c7c3be91..2b8719922fd5ba4bdccf3a3921d8e8b125cba17b 100644
(file)
--- a/
client_prototype.py
+++ b/
client_prototype.py
@@
-101,7
+101,6
@@
def draw_screen():
j = win["start"][int(k == 0)] - sep_size
if (j >= 0 and j < screen_size[int(k == 0)]):
start = win["start"][k]
- # start = start if start >= 0 else 0
end = win["start"][k] + win["size"][k]
end = end if end < screen_size[k] else screen_size[k]
if k:
@@
-294,7
+293,6
@@
def cursed_main(stdscr):
curses.noecho()
curses.curs_set(False)
- # stdscr.keypad(True)
signal.signal(signal.SIGWINCH,
lambda ignore_1, ignore_2: set_window_geometries())
set_window_geometries()