-
-
Notifications
You must be signed in to change notification settings - Fork 578
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
Function Keys don't work in Byobu in bash for WSL #835
Comments
Do F-keys work if you run WSL outside of ConEmu? |
F-keys work in WSL outside of ConEmu in apps other than byobu/tmux. F-keys work in WSL in ConEmu in apps other than byobu/tmux. It's only in byobu/tmux that they're broken. I know this isn't a ConEmu problem -- thanks for such amazing software, btw! -- but I'm hoping it's something that can be gotten around. |
It works for me usually when I start the bash process through ConEmu via However whenever the foreground process within byobu prints a lot of output it seems that me pressing F2 doesn't get through. It does work when I hammer it, but of course I usually open 20 shells extra then. It does not seem to be a ConEmu-related problem though, as the same behavior is present by running bash via Windows' own |
This issue exists for me in ConEmu. Shift+any of the function keys do not work. Specifically, I tried the following: With Git Bash outside ConEmu
With Git Bash inside ConEmu
Any idea what could be causing this? Another weird thing that I noticed is if I press F2 in ConEmu-GitBash, it outputs the letter B. In Regular GitBash, nothing happens. Shift+F2 produces ~ in ConEmu-GitBash, outputs the letter Q in Regular GitBash. |
In the StatusBar there is "Terminal modes" column. |
@Maximus5 - XTerm is selected. Still, does not work with and without AppKeys selected. Is there any solution to this problem? I am using a vanilla install of Cmder (mini). Windows 10 with WSL installed. Using the following command to load bash in Cmder.
To check if function keys work at all in the terminal window, I opened a text file with Then, I opened Now, I am not sure if it is a ConEmu problem specifically. The exact same thing happens with the regular Windows cmd.exe . The difference is - if I LClick anywhere on the cmd terminal screen (activates select mode), and if I then press F2, it works by opening a new byobu window. Not being able to use byobu makes the whole Windows Bash experience useless for me (especially when SSHing to remote machines). I would much appreciate a solution. Thanks! Please let me know if this is not even a ConEmu problem and if I should post it somewhere else. |
I had issues with byobu on windows as well. Just pressing the function keys didn't do anything but holding them down caused it to occasionally actually see the input it seems. |
Interesting, just hit the same error. |
Usually you're able to go through the windows with |
Facing the same issue. F6 prints the |
@Maximus5 : I tried all combinations of the terminal modes and they don't change the behavior.
The bell (or sound) seems to be independent from the console as configuring it off (with Environment: Key-Events:
|
|
@Maximus5 : I updated my comment. Could you explain what you mean by task contents? |
How did you run your bash? From your keys log we can see that F-keys are received by your Unix console side properly. So the problem is not in ConEmu I believe. Anyway, update to preview or alpha is recommended. |
Tried with alpha as well, same behavior. |
Coz you didn't tell me about your bash task contents, I strongly recommend you to run |
Same behavior when starting with |
I have a similar problem running cmd in ConEmu64 (180206 x64 on Windows 10 x64). On my laptop Fn+F8 should switch screens, but it has no effect if ConEmu has focus. KeyEvents reports this:
The keys Fn+F1 (mute), Fn+F2 (volume down), Fn+F3 (volume up) work correctly, on the other hand. KeyEvents reports VK_VOLUME_MUTE, VK_VOLUME_DOWN, VK_VOLUME_UP, respectively. |
If I run KeyEvents in cmd.exe directly it looks slightly different (and the window switch is triggered as expected):
|
@cbuchacher Your cmd issue is offtopic here. This issue describes the problem of Windows Subsystem for Linux. |
@journey-of-code Try to change
|
180416? |
For me the problem has been fixed using -new_console:p:n and wslbridge2
|
Versions
ConEmu build: 160724 x64
OS version: Windows 10 x64
Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): Bash from Windows Subsystem for Linux
Problem description
This is a Windows Subsystem for Linux (WSL) bug, not a ConEmu bug. Byobu-specific function keys (e.g, F2 to open new window, F3 to cycle backward through open windows, F4 to cycle forward, etc.) do not work in ConEmu or in the Windows bash shell. Function keys do work in other bash applications (e.g., nano, htop). I'm hoping you can code a workaround like you did for cursor/arrow keys in WSL.
Steps to reproduce
Actual results
Pressing F1-F4 doesn't do anything; pressing F5-F12 prints a tilde (~) to screen.
Expected results
F2 should create new bash instance inside of byobu. F3 should cycle backward through extant shells. F4 should cycle forward. F9 should launch byobu configuration.
Additional files
Settings,
screenshots,
logs,
etc.
The text was updated successfully, but these errors were encountered: