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:
2746c58
)
New client: Minor variable renaming (make it more descriptive).
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 31 Oct 2015 11:38:09 +0000
(12:38 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 31 Oct 2015 11:38:09 +0000
(12:38 +0100)
client_prototype.py
patch
|
blob
|
history
diff --git
a/client_prototype.py
b/client_prototype.py
index 2340bfed6dbaf8e1b3614ee02b6cbe56026ef3a8..2ed03fd645dc46c0357e97e910f6362be0a3d444 100644
(file)
--- a/
client_prototype.py
+++ b/
client_prototype.py
@@
-127,8
+127,8
@@
def draw_screen():
and x_in_screen < screen_size[1]):
stdscr.addch(y_in_screen, x_in_screen, cell)
def draw_scroll_hints():
- def draw_scroll_string(
hint_number
):
- hint = ' ' + str(
hint_number
+ 1) + ' more ' + unit + ' '
+ def draw_scroll_string(
n_lines_outside
):
+ hint = ' ' + str(
n_lines_outside
+ 1) + ' more ' + unit + ' '
if len(hint) <= win["size"][ni]:
non_hint_space = win["size"][ni] - len(hint)
hint_offset = int(non_hint_space / 2)