summaryrefslogtreecommitdiff
path: root/st.c%2525252525253fid%2525252525253d94b8ec002101a5e8f52a342e53431eea71aa0631%...
diff options
context:
space:
mode:
authork0ga <k0ga@shike2.com>2020-05-16 09:48:18 +0000
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-05-16 12:37:14 +0200
commitbda9c9ffa645ee5e4b2507474ebfa1c5efb889b2 (patch)
treec3c312e78453af54fc25ace08a0f4b0a37b67e72 /st.c%2525252525253fid%2525252525253d94b8ec002101a5e8f52a342e53431eea71aa0631%25252525253fid%25252525253ddec6b530a4fddf405c1822b2cac6e2036d3c8b75%252525253fid%252525253d475a0a36cb4fda1da30f014da65988e99b222876%2525253fid%2525253d475a0a36cb4fda1da30f014da65988e99b222876%25253fid%25253d475a0a36cb4fda1da30f014da65988e99b222876%253fid%253de8392b282c2eaa28725241a9612804fb55113da4%3fid%3df8afebdfa0cc9a57b22c39c47e9b585f69453eb7?id=bda9c9ffa645ee5e4b2507474ebfa1c5efb889b2
parent045a0fab4f80b57f4a982ae6bc5f33fe21d66111 (diff)
Make shift+wheel behaves as shift+Prev/Next
St uses a very good hack where mouse wheel genereates ^Y and ^E, that are the same keys that less and vi uses for backward and fordward scrolling. Scroll, as many terminal emulators, use shift+Prev/Next for scrolling, but it is also using ^E and ^Y for scroling, characters that are reserved in the POSIX shell in emacs mode for end of line and yanking, making scroll unsable in st. This patch adds a new hack, making shift+wheel returning the same sequences than shift+Prev/Next, meaning that scroll or any other similar program will not be able to differentiate between them.
Diffstat (limited to 'st.c%2525252525253fid%2525252525253d94b8ec002101a5e8f52a342e53431eea71aa0631%25252525253fid%25252525253ddec6b530a4fddf405c1822b2cac6e2036d3c8b75%252525253fid%252525253d475a0a36cb4fda1da30f014da65988e99b222876%2525253fid%2525253d475a0a36cb4fda1da30f014da65988e99b222876%25253fid%25253d475a0a36cb4fda1da30f014da65988e99b222876%253fid%253de8392b282c2eaa28725241a9612804fb55113da4%3fid%3df8afebdfa0cc9a57b22c39c47e9b585f69453eb7?id=bda9c9ffa645ee5e4b2507474ebfa1c5efb889b2')
0 files changed, 0 insertions, 0 deletions