micro-editor / micro-editor/micro
Several keybindings don't work over SSH+Byobu (Shift+arrows, Ctrl+arrows)
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
Description of the problem or steps to reproduce
When using SSH on a server configured to run Byobu, attempting to use Ctrl or Shift plus the arrow keys outputs a keystroke sequence instead of performing the bound movements.
- Ctrl+Right outputs
[1;5C - Ctrl+Left outputs
[1;5D - Shift+Left/Right changes panels on Byobu, so those keystrokes are not detected by default
- The key combination to disable Byobu temporarily, Shift+F12, doesn't seem to go through when using OpenSSH or Putty (with any configuration of keybindings) over Windows
- Shift+F12 does work on Arch Linux, so Shift+Left outputs
[1;2Cand Shift+Right outputs[1;2D.
Specifications
Commit hash: "Version: 2.0.6" from Buster Backports
OS: Debian Buster (host), Windows 10 and Arch Linux (guest)
Terminal: SSH + Bash + Byobu (host), Tilix (Arch linux guest), OpenSSH and WSL2 (Windows guest)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported key sequences in the listed SSH, Bash, Byobu, Windows, and Arch Linux environments, starting with Ctrl+Left/Right and Shift+Left/Right. Trace the editor's terminal input and keybinding handling; done means these combinations trigger their bound movements rather than outputting escape sequences or being intercepted by Byobu.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, go
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100