20 lines
551 B
Plaintext
20 lines
551 B
Plaintext
$OpenBSD: patch-kkconsui-0_1_src_cmenus_cc,v 1.6 2003/12/23 21:08:29 pvalchev Exp $
|
|
--- kkconsui-0.1/src/cmenus.cc.orig 2003-11-05 02:10:27.000000000 -0700
|
|
+++ kkconsui-0.1/src/cmenus.cc 2003-12-23 01:58:05.000000000 -0700
|
|
@@ -252,6 +252,7 @@ int verticalmenu::open() {
|
|
return 0;
|
|
break;
|
|
|
|
+ case 'k':
|
|
case KEY_UP:
|
|
if(curelem > 0) {
|
|
shownelem(curelem, 0);
|
|
@@ -277,6 +278,7 @@ int verticalmenu::open() {
|
|
}
|
|
break;
|
|
|
|
+ case 'j':
|
|
case KEY_DOWN:
|
|
if(!items.empty()) {
|
|
if(curelem < items.size()-1) {
|