Skip to content

Support tiny commands in keymap config#410

Merged
osa1 merged 4 commits into
osa1:masterfrom
nthnd:config_cmd
Aug 5, 2023
Merged

Support tiny commands in keymap config#410
osa1 merged 4 commits into
osa1:masterfrom
nthnd:config_cmd

Conversation

@nthnd

@nthnd nthnd commented Aug 4, 2023

Copy link
Copy Markdown
Contributor

Allows the user to specify a config of this sort:

key_map:
  ctrl_d:
    run_command: quit

Fixes #403

nthnd added 2 commits August 4, 2023 10:31
allows the user to specify a config of this sort:
```yaml
key_map:
  ctrl_d:
    run_irc_command: quit
```

fixes osa1#403

@osa1 osa1 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Code looks great. Added some inline comments regarding naming.

Comment thread crates/libtiny_tui/src/key_map.rs Outdated
Comment thread crates/libtiny_tui/src/key_map.rs Outdated
Comment thread crates/libtiny_tui/src/key_map.rs

@osa1 osa1 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again!

@osa1
osa1 merged commit 66a1014 into osa1:master Aug 5, 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

Successfully merging this pull request may close these issues.

String input key binding

2 participants