Ticket #4267 (closed defect: fixed)
[alt+]shift+Up/Down not recognized on TERM=st
Reported by: | sdk | Owned by: | andrew_b |
---|---|---|---|
Priority: | major | Milestone: | 4.8.27 |
Component: | mc-tty | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: | committed-master |
Description
Hello,
The simple term (st.suckless.org) is quite popular in power-user circles. In mc some key combinations are not recognized.
These are the quirks for "mc.lib" to make the arrow keys with modifiers work.
[terminal:st] shift-right=\\e[1\;5C shift-left=\\e[1\;5D shift-up=\\e[1\;2A shift-down=\\e[1\;2B alt-shift-right=\\e[1\;6C alt-shift-left=\\e[1\;6D alt-shift-up=\\e[1\;6A alt-shift-down=\\e[1\;6B [terminal:st-256color] copy=st [terminal:st-git-256color] copy=st
It would be wonderful, if you could add them.
Best Regards,
Stefan
Attachments
Change History
comment:1 Changed 3 years ago by andrew_b
- Status changed from new to accepted
- Owner set to andrew_b
- Component changed from mc-key-bindings to mc-tty
- Milestone changed from Future Releases to 4.8.27
comment:2 Changed 3 years ago by andrew_b
- Status changed from accepted to testing
- Resolution set to fixed
- Branch state changed from no branch to merged
Thanks!
Applied as [f533b37bf585474547d082647b04b1e070a34dca].
comment:5 follow-up: ↓ 6 Changed 3 years ago by sdk
- Status changed from closed to reopened
- Resolution fixed deleted
Thanks for merging - embarresingly I messed it up by holding down ctrl instead of shift half of the time. Could you please correct it?
[terminal:st] shift-right=\\e[1\;2C shift-left=\\e[1\;2D shift-up=\\e[1\;2A shift-down=\\e[1\;2B alt-shift-right=\\e[1\;4C alt-shift-left=\\e[1\;4D alt-shift-up=\\e[1\;4A alt-shift-down=\\e[1\;4B [terminal:st-256color] copy=st [terminal:st-git-256color] copy=st
comment:6 in reply to: ↑ 5 Changed 3 years ago by andrew_b
- Status changed from reopened to closed
- Resolution set to fixed
comment:7 follow-up: ↓ 8 Changed 3 years ago by zaytsev
Andrew: funny, the branch name is naster ;-)
comment:8 in reply to: ↑ 7 Changed 3 years ago by andrew_b
Replying to zaytsev:
Andrew: funny, the branch name is naster ;-)
There is/was no branch here. There were two direct commits to master.
comment:10 Changed 3 years ago by andrew_b
Ah, indeed. There was a typo. Fixed.