applied Jukkas prev/next patch with XK_{h,l}

This commit is contained in:
arg@10ksloc.org committed 2006-08-01 12:39:14 +02:00
1 parent 7b5638f61d
commit 1b63f832c5
3 files changed
+18

No files matched your search

+14
View File
@@ -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);
}