Shift+Arrow Key support for st [mc] This patch adds support for the simple term (st.suckless.org) to midnight commander. Index: misc/mc.lib --- misc/mc.lib.orig +++ misc/mc.lib @@ -146,6 +146,22 @@ copy=xterm [terminal:tmux-256color] copy=xterm +[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 + [terminal:ibmpc3] f11=\\e[Y f12=\\e[Z