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
Mapping key presses to remote control send-text command fails #3147
Comments
If you want to send text do it directly like this: map ctrl+enter send_text all hi |
Thanks for the fast response @kovidgoyal! That fixes the example in this issue. However, I had simplified the example to make the issue easier to understand. I'm actually trying to send this text to a specific window, i.e. Edit: For the sake of completeness, my final goal is to send "up arrow + enter" to window 1 (essentially letting me re-run the last bash command). So the full config I was going for is this:
But that ran into the partition error I reported here. |
And note you dont need allow_remote_control when creating mappings with remote_control. And just for fun, if you want to do this using plain send_text you would do:
|
@kovidgoyal thank you so much for the fix, I'll try it when the next release comes out. And thank you even more for showing me how to use the
|
Describe the bug
I'm trying to map a key to send-text. But when invoking the key I get the following error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The text
hi
should appear in the active window.Environment details
OS: Mac OS 10.15.7
Additional context
I can reproduce the issue
kitty --config kitty.conf
that contains only the 2 lines of config shown above.This issue seems to be specific to
send-text
. The following config works as expected:Thanks for all your work on kitty, it's greatly appreciated!
The text was updated successfully, but these errors were encountered: