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

String input key binding #403

Closed
xezo360hye opened this issue Apr 6, 2023 · 0 comments · Fixed by #410
Closed

String input key binding #403

xezo360hye opened this issue Apr 6, 2023 · 0 comments · Fixed by #410

Comments

@xezo360hye
Copy link

Currently, there is a key action input: CHAR which adds the CHAR to input area when triggered. However, I would like to be able to input a list of chars (aka string) so that I could use, for example, ctrl_l to send /clear, or ctrl_d to send /close. I see no way to do this with actions available at the moment, but it does not seem to be hard to implement

nthnd added a commit to nthnd/tiny that referenced this issue Aug 4, 2023
allows the user to specify a config of this sort:
```yaml
key_map:
  ctrl_d:
    run_irc_command: quit
```

fixes osa1#403
@osa1 osa1 closed this as completed in #410 Aug 5, 2023
osa1 pushed a commit that referenced this issue Aug 5, 2023
* Support tiny commands in keymap config

Allows the user to specify a config of this sort:

```yaml
key_map:
  ctrl_d:
    run_command: quit
```

Fixes #403.
alexandruradovici pushed a commit to UPB-CS-OpenSourceUpstream/tiny that referenced this issue Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants