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 default keys forever #19

Open
renyhp opened this issue May 11, 2021 · 4 comments
Open

Change default keys forever #19

renyhp opened this issue May 11, 2021 · 4 comments

Comments

@renyhp
Copy link

renyhp commented May 11, 2021

Is there a way to customize keys and then retain this preference?

If not, can this be added? A simple implementation idea would just be to not regenerate ~/.bastetrc if there is already one.

Thanks!

@fph
Copy link
Owner

fph commented May 13, 2021

Hello! What do you mean by 'forever'? Persist across several runs of the game? It should already work like that. If it doesn't on your platform, it must be a bug. Please add more information, so we can try to track it down.

@renyhp
Copy link
Author

renyhp commented May 13, 2021

Yes, I mean persist across several runs of the application. This is the workflow:

  • run bastet
  • customize keys
  • play a game (customized keys work)
  • play another game (customized keys still work)
  • exit via Ctrl+C
  • run bastet
  • play a game
  • the previous setting has been forgotten!

I am running on Xubuntu 20.04.2, with bash and guake.

@fph
Copy link
Owner

fph commented May 13, 2021

Ah -- found the reason; apparently they only get saved if you quit using the menu, not with Ctrl+C. I'll see if I can fix it, thanks for the report.

@renyhp
Copy link
Author

renyhp commented May 13, 2021

In fact, this probably raises the underlying problem that I don't really see a better way to quit the game while in game. Maybe have a key that quits just like the menu does (which also saves the keys)?

@awest03 awest03 mentioned this issue Sep 1, 2023
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