Ticket #4267 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

[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

Screenshot 2021-08-07 at 17.14.32.png (175.6 KB) - added by zaytsev 3 years ago.

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

comment:3 Changed 3 years ago by andrew_b

  • Status changed from testing to closed

comment:4 Changed 3 years ago by andrew_b

  • Votes for changeset set to committed-master

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

Replying to sdk:

Could you please correct it?

Done: [fdf2140bc46f7c277bae4bb20cc512253c883d36].

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.

Changed 3 years ago by zaytsev

comment:9 Changed 3 years ago by zaytsev

comment:10 Changed 3 years ago by andrew_b

Ah, indeed. There was a typo. Fixed.

Note: See TracTickets for help on using tickets.