Re: [dev] [ANNOUNCE] dvtm-0.8

From: Marc Andre Tanner <mat_AT_brain-dump.org>
Date: Wed, 1 Aug 2012 17:23:13 +0200

On Wed, Aug 01, 2012 at 04:11:16PM +0200, Kai Hendry wrote:
> > What would be good if just PGUP/PGDN worked.

The following should work, but as the code is you have no way of sending
PGUP/PGDN to the underlying app, which might be a problem. I personally
use a pager when I know that I want to inspect/search a lot of program output.
For the occasional case where the window size is just a little too small pressing
MOD+PG{UP,DN} doesn't bother me too much.

diff --git a/config.h b/config.h
index 2b00776..57ae4ff 100644
--- a/config.h
+++ b/config.h
_AT_@ -89,8 +89,8 @@ Key keys[] = {
         { MOD, 'r', { redraw, { NULL } } },
         { MOD, 'X', { lock, { NULL } } },
         { MOD, 'B', { togglebell, { NULL } } },
- { MOD, KEY_PPAGE, { scrollback, { "-1" } } },
- { MOD, KEY_NPAGE, { scrollback, { "1" } } },
+ { 0, KEY_PPAGE, { scrollback, { "-1" } } },
+ { 0, KEY_NPAGE, { scrollback, { "1" } } },
         { MOD, '?', { create, { "man dvtm", "dvtm help" } } },
 };

-- 
 Marc Andre Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0
Received on Wed Aug 01 2012 - 17:23:13 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 01 2012 - 18:00:06 CEST