diff options
author | Paul Oliver <contact@pauloliver.dev> | 2024-02-29 02:29:14 +0100 |
---|---|---|
committer | Paul Oliver <contact@pauloliver.dev> | 2024-02-29 02:29:14 +0100 |
commit | 76979c3530ed5303946cbb94657b3ba50c757e01 (patch) | |
tree | eba1aad7a48d9b7a100de9c99b2ea6e8718e721b /bin/handler.py | |
parent | cdf8ae4931db1ecdbc5cab632ae8afb430a3a24b (diff) |
Fast scroll on Process page.
[#24] Capital W and S keys now apply fast vertical scroll on Process
page.
Diffstat (limited to 'bin/handler.py')
-rw-r--r-- | bin/handler.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/handler.py b/bin/handler.py index c5e6ad0..9c8ffaf 100644 --- a/bin/handler.py +++ b/bin/handler.py @@ -69,6 +69,10 @@ class Handler: elif cmd == ord("w"): self.__printer.world.pan_up() self.__printer.proc_scroll_up() + elif cmd == ord("S"): + self.__printer.proc_scroll_down(fast=True) + elif cmd == ord("W"): + self.__printer.proc_scroll_up(fast=True) elif cmd == ord("Q"): self.__printer.world.pan_reset() self.__printer.proc_scroll_vertical_reset() |