diff options
author | arg@10ksloc.org <unknown> | 2006-08-01 12:39:14 +0200 |
---|---|---|
committer | arg@10ksloc.org <unknown> | 2006-08-01 12:39:14 +0200 |
commit | 1b63f832c528958042d72fddc318af5aefdcb68a (patch) | |
tree | a720f6e436185043c9b717d8a53c5989da4272a4 /tag.c | |
parent | 7b5638f61d5c8b5a76bc3f7a5962cb7490da3b6b (diff) |
applied Jukkas prev/next patch with XK_{h,l}
Diffstat (limited to 'tag.c')
-rw-r--r-- | tag.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -216,3 +216,17 @@ view(Arg *arg) arrange(NULL); drawall(); } + +void +viewnext(Arg *arg) +{ + arg->i = (tsel < TLast-1) ? tsel+1 : 0; + view(arg); +} + +void +viewprev(Arg *arg) +{ + arg->i = (tsel > 0) ? tsel-1 : TLast-1; + view(arg); +} |