Move cursor to starting position on F10
This commit is contained in:
parent
730a271123
commit
9b6c144a46
1 changed files with 1 additions and 0 deletions
|
|
@ -127,6 +127,7 @@ class Client():
|
||||||
elif i == curses.KEY_F7:
|
elif i == curses.KEY_F7:
|
||||||
self.map_.alternating_colors = not self.map_.alternating_colors
|
self.map_.alternating_colors = not self.map_.alternating_colors
|
||||||
self.redraw()
|
self.redraw()
|
||||||
|
elif i == curses.KEY_F10: self.map_.set_cursor(0, 0)
|
||||||
|
|
||||||
# scrolling the map (10 vertical, 20 horizontal)
|
# scrolling the map (10 vertical, 20 horizontal)
|
||||||
elif i in [569,566]: self.move( 0, -1, self.MOVE_MAP) # ctrl + up
|
elif i in [569,566]: self.move( 0, -1, self.MOVE_MAP) # ctrl + up
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue