comparison tag.c @ 144:e61447a7f249

applied Jukkas prev/next patch with XK_{h,l}
author arg@10ksloc.org
date Tue, 01 Aug 2006 12:39:14 +0200
parents 36cabfe408cd
children f328ce9c558c
comparison
equal deleted inserted replaced
143:36cabfe408cd 144:e61447a7f249
214 { 214 {
215 tsel = arg->i; 215 tsel = arg->i;
216 arrange(NULL); 216 arrange(NULL);
217 drawall(); 217 drawall();
218 } 218 }
219
220 void
221 viewnext(Arg *arg)
222 {
223 arg->i = (tsel < TLast-1) ? tsel+1 : 0;
224 view(arg);
225 }
226
227 void
228 viewprev(Arg *arg)
229 {
230 arg->i = (tsel > 0) ? tsel-1 : TLast-1;
231 view(arg);
232 }