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

A helpful popup window for keybinds. #14

Merged
merged 9 commits into from
Sep 12, 2021
Merged

A helpful popup window for keybinds. #14

merged 9 commits into from
Sep 12, 2021

Conversation

Xithrius
Copy link
Owner

@Xithrius Xithrius commented Sep 10, 2021

  • New config variables for setting keybinds.
  • Ability to switch between windows (chat, keybind help).
  • Both the q and Esc key work for exiting out completely.
  • Enum WindowStyles added for default color schemes in windows and boarders.
  • hsl_to_rgb function moved to colors.rs
  • Added system boolean for Data structure so if system messages are implemented in the future, it's already set up.
  • tui.rs renamed to terminal.rs, and tui function within that file has been renamed to ui_driver.
  • Chat drawing and keybinds moved to their own files.
  • Added function in text.rs to see maximum length of string in columns of 2d vector.
  • Some unit tests.

@Xithrius Xithrius added the type: enhancement New feature or request label Sep 10, 2021
@Xithrius Xithrius changed the title A popup window with a table of keybinds. A helpful popup window for keybinds. Sep 10, 2021
@Xithrius Xithrius mentioned this pull request Sep 10, 2021
17 tasks
Utility for adding up all the lengths of columns for 2-dimensional
vectors was also added.

The table for keyboard shortcuts shows up somewhat properly now.

Keybinds are now defined as strings.
Function `tui` in `src/tui.rs` renamed to `ui_driver`
The original intention was never to sum up all the lengths, I just
forgot what I was supposed to implement I guess.
@Xithrius Xithrius merged commit 9f4fb40 into main Sep 12, 2021
@Xithrius Xithrius deleted the keybinds-help branch September 12, 2021 00:52
@github-actions
Copy link

cat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XL type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant