jawa0 / aish3

AI LLM Agent with memories
Apache License 2.0
3 stars 1 forks source link

TextArea should use Home and End keys for beginning-of-line and end-of-line navigation, on Windows. #102

Open jawa0 opened 4 months ago

jawa0 commented 4 months ago

Currently go to beginning of line is Ctrl+left-arrow and go to end of line is Ctrl+ight-arrow. We should use Home and End on Windows and Linux, but not on Mac. On Mac we should continue to use the current Ctrl+left and Ctrl+right. On windows we shouldn't use Ctrl+arrows for BOL/EOL, just Home and End. Note that on my laptop keyboard I have a Home and End key that is in line with the function keys, and I also have Home and End keys on the numeric keypad. Check which SDL2 codes to use for these and support all of the possible Home and End keys. I have many GUIControl derived classes that implement handle_event, as does GUI. GUI also implements handle_keydown(). Pay attention to these code locations, and make all necessary modifications. @mentatbot

mentatbot[bot] commented 4 months ago

I will start working on this issue