9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] acme: increase scroll wheels speed
@ 2021-04-10 15:24 kemal
  0 siblings, 0 replies; only message in thread
From: kemal @ 2021-04-10 15:24 UTC (permalink / raw)
  To: 9front

i was used to sam's fast scrolling, acme's scrolling was slow.
i have seen that there were attempts made to get it aligned
with rio and sam (d0a53c92a84d), but there was a problem
so it was reverted back (a43c3e5624da). i think this change
gets it align with sam and rio (and i tried to compare, seems
to be same) but not sure.

diff -r cc8420fa5fce sys/src/cmd/acme/acme.c
--- a/sys/src/cmd/acme/acme.c	Fri Apr 09 16:48:07 2021 +0200
+++ b/sys/src/cmd/acme/acme.c	Sat Apr 10 18:11:38 2021 +0300
@@ -526,9 +526,9 @@
 			/* scroll buttons, wheels, etc. */
 			if(t->what==Body && w != nil && (m.buttons & (8|16))){
 				if(m.buttons & 8)
-					but = Kscrolloneup;
+					but = Kup;
 				else
-					but = Kscrollonedown;
+					but = Kdown;
 				winlock(w, 'M');
 				t->eq0 = ~0;
 				texttype(t, but);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-10 15:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-10 15:24 [9front] acme: increase scroll wheels speed kemal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).