diff options
| author | troido <troido@hotmail.com> | 2018-01-03 19:32:23 +0100 |
|---|---|---|
| committer | troido <troido@hotmail.com> | 2018-01-03 19:32:23 +0100 |
| commit | ce3f13100e54ddcdd7fa5f1e2d7bc48b0acee957 (patch) | |
| tree | 6564529e4d4379a21e6e4f046e966c9d84f6a242 | |
| parent | 9ee677665df576fba1713544c761c3ef76dbdadc (diff) | |
fixed keymap doc
| -rw-r--r-- | asciifarm/client/display/infopad.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asciifarm/client/display/infopad.py b/asciifarm/client/display/infopad.py index a45a03e..974e3fc 100644 --- a/asciifarm/client/display/infopad.py +++ b/asciifarm/client/display/infopad.py @@ -23,7 +23,7 @@ class InfoPad: win = self.widget.getWin() width, height = win.getSize() lines = [line[:width-1] for line in self.lines][:height] - text = '\n'.join(lines) win.erase() - win.addLine((0, 0), text) + for i, line in enumerate(lines): + win.addLine((0, i), line) win.noutrefresh() |
