Skip to content

Conversation

@john-peterson
Copy link

test

mouse 0, alt 0

bash, more

mouse 0, alt 1

less: designed for manual keyboard input the right jump is too big when swiping

mouse 1, alt 0

r2 -c "aa;s main;VV" a.out: need patch https://github.com/john-peterson/radare2/tree/scroll

mouse 1, alt 1

links: works but really needs patch to never overflow terminal width

vim: unessecery and unimplemented

mcedit help menu: unimplemented. pressing left crashes to bash that now print escape codes in plain text when swiping

@john-peterson john-peterson force-pushed the scroll2 branch 3 times, most recently from 7f20a06 to 23329e8 Compare August 17, 2024 15:20
@Jbub5
Copy link

Jbub5 commented Oct 19, 2025

I liked your idea, so I made it possible to move the cursor horizontally by swiping a finger across the screen.
During the implementation, I encountered the problem of triggering on vertical scrolling, which leads to auto-scrolling to the entered text, which creates problems because it is impossible to swipe up or down perfectly. As a solution to the problem with horizontal scrolling, setting a flag is used to block auto-scrolling to the entered text. This solution puts a heavy load on CPU, and need to find a better way.
Jbub5@8b9a6e2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants