summaryrefslogtreecommitdiff
path: root/src/screen.h
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2001-06-12 01:04:45 +0000
committerMichael Jennings <mej@kainx.org>2001-06-12 01:04:45 +0000
commitc3f775c1b5720075e34efc6bb8d2dbf7ec5e6b4e (patch)
tree42d5b34d4a29cd98194a7679bc480c21479bb696 /src/screen.h
parentd6cf1648376e616941d7f15875be0f48e2da0f6e (diff)
downloadeterm-c3f775c1b5720075e34efc6bb8d2dbf7ec5e6b4e.tar.gz
Mon Jun 11 17:49:55 PDT 2001 Michael Jennings <mej@eterm.org>
Okay, first off, I removed 3 scaled backgrounds. See www.kainx.org or my post to enlightenment-devel for details. Second, I redid the default bindings for the mouse wheel. Basically, the wheel alone will scroll by pages. Ctrl+wheel will scroll by pages in groups of 5. Shift+wheel will scroll by a single line. If you hold down the Alt key, the same combinations will work the same way, but instead of scrolling within Eterm, they'll scroll the application in the terminal (by sending PgUp/PgDn and up/down arrows). This works in less, bash, and any other application which groks those keys. I also added a --without-mousewheel option to configure that will turn off the default scrollwheel bindings. Of course, you can always use action bindings in the config file to bind/rebind these any way you like. While I was at it, I found and fixed a bug in the handling of the Alt and Meta keys. I added a scroll() function to the script stuff which allows you to bind keys/buttons to scroll up and down. While I was at it, I added comments to script.c for each function you can use. And finally, the config file parser was moved to libast. SVN revision: 4806
Diffstat (limited to 'src/screen.h')
-rw-r--r--src/screen.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/screen.h b/src/screen.h
index 46d4fb1..c6aa1ba 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -29,11 +29,9 @@
#define IS_CUT_BUFFER(a) (((a) >= XA_CUT_BUFFER0) && ((a) <= XA_CUT_BUFFER7))
#define ZERO_SCROLLBACK do { \
- D_SCREEN(("ZERO_SCROLLBACK()\n")); \
if (Options & Opt_home_on_output) TermWin.view_start = 0; \
} while (0)
#define REFRESH_ZERO_SCROLLBACK do { \
- D_SCREEN(("REFRESH_ZERO_SCROLLBACK()\n")); \
if (Options & Opt_home_on_output) TermWin.view_start = 0; \
} while (0)
#define CHECK_SELECTION do { \