From cdf8ae4931db1ecdbc5cab632ae8afb430a3a24b Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 29 Feb 2024 02:29:14 +0100 Subject: Scroll to top now with 'Q' key. [#24] I want to free up capital 'S' in order to implement fast vertical scroll on Process and World pages. --- bin/README.md | 2 +- bin/handler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/README.md b/bin/README.md index 97738f1..ec6ff17 100644 --- a/bin/README.md +++ b/bin/README.md @@ -19,7 +19,7 @@ $ ./bin/salis.py load --file 16.sim |Left/Right arrow |Previous/next page | |Up/Down arrows |Scroll page up/down if it can't fit terminal | |`wasd` |Scroll/pan (PROCESS and WORLD page) | -|`S` |Scroll to top (PROCESS and WORLD page) | +|`Q` |Scroll to top (PROCESS and WORLD page) | |`A` |Scroll to left (PROCESS page) | |`zx` |Zoom in/out (WORLD page) | |`i` |Toggle IP view (WORLD page) | diff --git a/bin/handler.py b/bin/handler.py index da95789..c5e6ad0 100644 --- a/bin/handler.py +++ b/bin/handler.py @@ -69,7 +69,7 @@ class Handler: elif cmd == ord("w"): self.__printer.world.pan_up() self.__printer.proc_scroll_up() - elif cmd == ord("S"): + elif cmd == ord("Q"): self.__printer.world.pan_reset() self.__printer.proc_scroll_vertical_reset() elif cmd == ord("A"): -- cgit v1.2.1