From 9b6c144a469cb20bb981b4d0096dbb3a7f6affa0 Mon Sep 17 00:00:00 2001 From: Joscha Date: Fri, 21 Apr 2017 16:36:36 +0000 Subject: [PATCH] Move cursor to starting position on F10 --- client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client.py b/client.py index 9d227b9..33c4d0a 100644 --- a/client.py +++ b/client.py @@ -127,6 +127,7 @@ class Client(): elif i == curses.KEY_F7: self.map_.alternating_colors = not self.map_.alternating_colors self.redraw() + elif i == curses.KEY_F10: self.map_.set_cursor(0, 0) # scrolling the map (10 vertical, 20 horizontal) elif i in [569,566]: self.move( 0, -1, self.MOVE_MAP) # ctrl + up