[ BUG ] Arrow keys keycodes recognised as raw #17

Closed
opened 2020-08-30 21:47:16 +00:00 by BachoSeven · 4 comments
BachoSeven commented 2020-08-30 21:47:16 +00:00 (Migrated from github.com)

Hi, I noticed that when running $0 in exercise mode, i.e. with the gtypist exercises, there is a nice way to switch between exercises with either Down/Up or also Left/Right arrow
keys.

However, while this does work sometimes, oftentimes it will print out the raw keycodes (only the part after the escape code, so for example ^[[B for the Down key [in my
terminal] but only [B gets printed). I will attach a gif demonstrating the above.
Specifically, I can only reproduce this for the Down and Right keys. Up and Left seem to be working fine.

Uhm now that I think about it more, it could be intentional so that one does not skip over exercises(?)

In any case I don't thin it should be that way, since I might want to go Up/Down through completed exercises...

Let me know what you think about this

EDIT: Yea okay so I think there is an intentional part as I thought, since the bug does not happen when only scrolling through completed exercises... :o

Hi, I noticed that when running $0 in `exercise` mode, i.e. with the gtypist exercises, there is a nice way to switch between exercises with either Down/Up or also Left/Right arrow keys. However, while this does work sometimes, oftentimes it will print out the **raw** keycodes (only the part after the escape code, so for example `^[[B` for the Down key [in my terminal] but only `[B` gets printed). I will attach a gif demonstrating the above. Specifically, I can only reproduce this for the Down and Right keys. Up and Left seem to be working fine. Uhm now that I think about it more, it could be intentional so that one does not skip over exercises(?) In any case I don't thin it should be that way, since I might want to go Up/Down through completed exercises... Let me know what you think about this EDIT: Yea okay so I think there is an intentional part as I thought, since the bug does not happen when only scrolling through completed exercises... :o
BachoSeven commented 2020-08-30 21:51:57 +00:00 (Migrated from github.com)

video-200830-2347-41

![video-200830-2347-41](https://user-images.githubusercontent.com/55460785/91670235-c6ca1c00-eb1b-11ea-81e5-be15cc36ca44.gif)
budRich commented 2020-08-31 07:17:27 +00:00 (Migrated from github.com)

Yes you are correct, i knew about that but didn't bother fix it since it would only affect cheaters ;) . But i am sure i can fix this, i will do that before the next release. Thanks for the issue, also nice gif and rice!

Yes you are correct, i knew about that but didn't bother fix it since it would only affect cheaters ;) . But i am sure i can fix this, i will do that before the next release. Thanks for the issue, also nice gif and rice!
BachoSeven commented 2020-08-31 20:40:30 +00:00 (Migrated from github.com)

Thank you:) it's st inside dwm with picom-ibhagwan-git as compositor.

Thank you:) it's `st` inside `dwm` with picom-ibhagwan-git as compositor.
budRich commented 2022-06-30 17:33:27 +00:00 (Migrated from github.com)

this is fixed now.

this is fixed now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bud/typiskt#17
No description provided.