-
Notifications
You must be signed in to change notification settings - Fork 136
Can't Navigate Containers with Arrow Keys in st #247
Comments
This isn't fixable. However, the workaround on my side is to make the arrow key navigation reconfigurable I think. |
One idea might be to have a reconfigurable modifier key. Rather than only using This could also be helped by a vim mode, like in #140. |
@JBlocklove Can you provide more information about your build of st? I'm able to navigate with Alt+arrows in st just fine |
@avahe-kellenberger Sure. I my build was forked from Luke Smith's build and can be found here: https://github.com/JBlocklove/st |
I'll do some debugging tonight and see if I can figure out why my building is working but the default isn't |
@JBlocklove Using the default build of #define MODKEY Mod1Mask
...
{ MODKEY, XK_Up, kscrollup, {.i = 1} },
{ MODKEY, XK_Down, kscrolldown, {.i = 1} } Mod1Mask is the It may be a good idea to allow remapping of arrow key navigation as @Bios-Marcel suggested, but this is an issue with your personal configuration |
@avahe-kellenberger Ah, it seems I haven't pushed my most recent build -- it should be up to date now. Those lines were the first things I removed when trying to solve this. Also, the stock build definitely doesn't work for me, unless I'm doing something wrong. These are the exact commands I'm running:
Then I restart my terminal, and the configs are definitely reset to the stock ones and it's not working. If I'm messing up somewhere in this that's fine, I just don't know where. |
maybe your system sends different sequences to the terminal for some reason. There's a demo file in cordless: https://github.com/Bios-Marcel/cordless/blob/master/tools/keyevents/main.go Can you run that, do the broken shortcuts and send the output? |
Each shortcut alt+Up:
alt+Right:
alt+Down:
alt+Left:
I also ran this in Also, is there a way to quit out of this program? I've just been externally killing it for this test... |
no way to kill it, sry xD Well, now this is a weird and unexpected result. The |
Might be a bug in tcell, as we are not doing anything low-level in cordless. |
This seems to be related: gdamore/tcell#309 |
@JBlocklove try |
@avahe-kellenberger I get I also get the same output from the keyevents program. |
I meant as two separate commands, make and then ./st to run the local binary. You should try completely wiping that directory and clone the project, first. It will open another terminal window (default st) where you could run cordless and try again |
Still the same result. I've tried just about every iteration of getting the stock build of |
This issue might be fixed with gdamore/tcell#369 |
Hey @JBlocklove cordless upgraded to tcell v2. If you still care about this issue and it still persists, just reopen / make a new issue. |
Sorry, never noticed that the change was made. I just tried with both the AUR and building from source after pulling from master and still no dice. The |
How have you installed cordless
What happened
I can't seem to navigate containers using
Alt+arrow
fromst
How do you reproduce this bug
I am using
st
as my terminal, which seems to relate to the issue. When I try onurxvt
it works fine. I assume this has something to do with the way the keycodes are sent for compatibility purposes.This issue occurs both with an unmodified install of
st
as well as with my somewhat customized one.Error output
No output
System information
The text was updated successfully, but these errors were encountered: