From: Christian Heller Date: Wed, 16 Dec 2015 00:20:00 +0000 (+0100) Subject: New client: Remove unneeded outcommented code. X-Git-Tag: tce~229 X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/edit?a=commitdiff_plain;h=a845dce5a0f8a11ce9f8483c071a98f8d2fe9d55;p=plomrogue New client: Remove unneeded outcommented code. --- diff --git a/client_prototype.py b/client_prototype.py index baf42c9..2b87199 100644 --- 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()