Open jZhangTk opened 3 weeks ago
Hey @jZhangTk thanks for the issue! Could you test with latest main?
Thanks for the update, @raphamorim. I followed the instructions here and confirmed that the version is 0.1.10 (20230528.115631)
, but the behavior is still the same.
Thank you for testing @jZhangTk! Very interesting, I tested Rio and Kitty key inputs and looks is correct at least. Wondering what could be
I assume it does work with kitty right?
I did a bit of searching, and tested tmux with Kitty and Ghostty but looks the protocol doesn't really work there (at least with no configuration), found this as well https://github.com/tmux/tmux/issues/3335
Interesting. It works fine for me on Kitty. What are you using to test the key press? I can test it on my side too.
ah if it does work with kitty terminal then is likely to be a bug in Rio.
I use the kitty cli https://sw.kovidgoyal.net/kitty/invocation/ , there's a command that I can test the inputs kitty +kitten show_key -m kitty
can you send me your tmux configuration as well? I will try to reproduce here
When I was testing it, I commented out everything in tmux.conf
, so you don't need any tmux configuration. For Kitty, I also commented out everything except for kitty_mod ctrl+shift+alt
so I can use ctrl+shift
.
I'm going to test the key press later today and let you know.
I'm not sure if I did it right. I tried to run kitty +kitten show_key -m kitty
in tmux for both Rio and Kitty, but it behaves very strangely compared to no tmux. When I press a key, it only responds with Text:
and nothing else. One thing I noticed is that when I press c-s-t
, Rio displays the same Text:
, but Kitty does not show anything, as if no key has been pressed, so they do act a little differently.
I should have provided this earlier. Here are the steps I'm using to test if c-s-t
works.
init.lua
-- reopen a closed tab
vim.keymap.set('n', '<C-S-t>', '<cmd>tabnew#<CR>', { noremap = true, silent = true })
c-s-t
c-t
is pressed)Rio Kitty
Environment:
I'm using the default config with only
use-kitty-keyboard-protocol = true
added. It works fine without tmux. However, once I launch tmux, it seems to stop working. E.g. I have a key mapping forctrl-shift-t
set up in Neovim, but it doesn't work when I use it within tmux.