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

9front - general discussion about 9front

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/9front

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9front 9front/ http://inbox.vuxu.org/9front \
		9front@9front.org
	public-inbox-index 9front

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.9front


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git