Add alternating color mode (F3)
This commit is contained in:
parent
e3b599eee1
commit
8c5d5bc2cb
3 changed files with 36 additions and 17 deletions
|
|
@ -63,6 +63,9 @@ class Client():
|
|||
elif i == "KEY_F(2)":
|
||||
self.chunkmap_active = not self.chunkmap_active
|
||||
self.redraw()
|
||||
elif i == "KEY_F(3)":
|
||||
self.map_.alternating_colors = not self.map_.alternating_colors
|
||||
self.redraw()
|
||||
elif i == "KEY_F(5)": self.map_.redraw()
|
||||
# scrolling the map (10 vertical, 20 horizontal)
|
||||
elif i == "kUP5": self.map_.scroll(0, -10)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue