diff options
author | Russ Cox <rsc@swtch.com> | 2011-04-27 13:18:07 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2011-04-27 13:18:07 -0400 |
commit | ba31ab3044765270d40c9da934dfc11e5f8b63c5 (patch) | |
tree | b9b8bb263f822e990b53eb97384ba338a0036a66 /src/cmd/9term/dat.h | |
parent | 42ef984cf2514fedc4f9e2efe2876aa95d2d8579 (diff) | |
download | plan9port-ba31ab3044765270d40c9da934dfc11e5f8b63c5.tar.gz plan9port-ba31ab3044765270d40c9da934dfc11e5f8b63c5.tar.bz2 plan9port-ba31ab3044765270d40c9da934dfc11e5f8b63c5.zip |
9term, acme: autoscroll
Ignore scroll/noscroll window setting.
Instead, scroll when the write begins in
or immediately after the displayed window content.
In the new scrolling discipline, executing
"Noscroll" is replaced by typing Page Up or
using the mouse to scroll higher in the buffer,
and executing "Scroll" is replaced by typing End
or using the mouse to scroll to the bottom of
the buffer.
R=r, r2
http://codereview.appspot.com/4433060
Diffstat (limited to 'src/cmd/9term/dat.h')
-rw-r--r-- | src/cmd/9term/dat.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmd/9term/dat.h b/src/cmd/9term/dat.h index bc6d1fc9..052f3b82 100644 --- a/src/cmd/9term/dat.h +++ b/src/cmd/9term/dat.h @@ -131,7 +131,6 @@ struct Window Rectangle lastsr; int topped; int notefd; - uchar scrolling; Cursor cursor; Cursor *cursorp; uchar holding; @@ -149,7 +148,7 @@ int winborder(Window*, Point); void winctl(void*); void winshell(void*); Window* wlookid(int); -Window* wmk(Image*, Mousectl*, Channel*, Channel*, int); +Window* wmk(Image*, Mousectl*, Channel*, Channel*); Window* wpointto(Point); Window* wtop(Point); void wtopme(Window*); |