Skip to content

Conversation

AutumnRivera
Copy link

This PR refactors the keybindings logic into its own module while also adding special character handling, to make sure user defined keybindings (' ', '\n', and '\t') are displayed in a human readable format. But the main purpose of this PR is that it adds the relevant keybindings information into the help flag output (i.e. bluetui --help), closing #58.

- This reworks the keybindings data and logic into its own module to
  cut down on the code duplication that would be otherwise be needed to
  display the keybindings as part of the help flag. Additionally, doing
  so cleans up the help module considerably.

- This also adds some minor character handling to ensure that user
  defined keybindings are displayed in a human readable format when set
  to special characters (i.e. ' ', '\n', and '\t').
@AutumnRivera AutumnRivera force-pushed the 58-add-hotkeys-to-help branch from 26d145c to 9121c86 Compare October 3, 2025 23:20
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

Successfully merging this pull request may close these issues.

1 participant