Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change direction with keyboard but stay on current square #198

Closed
WyrdByWord opened this issue Sep 9, 2022 · 2 comments
Closed

Change direction with keyboard but stay on current square #198

WyrdByWord opened this issue Sep 9, 2022 · 2 comments

Comments

@WyrdByWord
Copy link

Is there a way to have direction change with the keyboard function the same way that direction changes on a second click does? The former changes directions and moves forward a square in the new direction. I would like to just change direction and stay in the same square without using the mouse.

@mrichards42
Copy link
Owner

Hi! Not quite. If you have "pause when switching direction" on (the default) arrow keys will do what you're asking but only if you're on a blank square. If you're on a square with a letter the arrow keys always move to the next square instead of staying on the same square. That preference is perhaps not worded very well.

There is an old PR #167 that would add an option to have the space bar do what you're asking but it isn't quite finished. If you wanted to give it a shot, the preferences dialog part is solid, but IIRC there's a little bit of work to do on the actual behavior.

@WyrdByWord
Copy link
Author

Thank you. I did wonder what "pause when switching direction meant," so that is definitely useful to understand. Unfortunately, contributing code to implement this is way, way beyond my abilities! Since PR #167 is open, I will close this issue with this comment to avoid clutter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants