Move cursor to starting position on F10

This commit is contained in:
Joscha 2017-04-21 16:36:36 +00:00
parent 730a271123
commit 9b6c144a46

View file

@ -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