reduce the delay times
This commit is contained in:
parent
577d05f3e2
commit
4f0071c711
@ -152,7 +152,9 @@
|
|||||||
RETURN
|
RETURN
|
||||||
end
|
end
|
||||||
when key = D2C(10) | key = D2C(13) then do /* Enter key - numeric codes only */
|
when key = D2C(10) | key = D2C(13) then do /* Enter key - numeric codes only */
|
||||||
|
menuwin~mvaddstr(19 - 1, 18, "Letter selection ["||menu_keys[.environment~selected]||"]")
|
||||||
menuwin~refresh
|
menuwin~refresh
|
||||||
|
call SysWait 0.25
|
||||||
self~ProcessSelection(menuwin, menu_keys[.environment~selected])
|
self~ProcessSelection(menuwin, menu_keys[.environment~selected])
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
@ -163,7 +165,7 @@
|
|||||||
if pos > 0 then do
|
if pos > 0 then do
|
||||||
menuwin~mvaddstr(19 - 1, 18, "Letter selection ["||key||"]")
|
menuwin~mvaddstr(19 - 1, 18, "Letter selection ["||key||"]")
|
||||||
menuwin~refresh
|
menuwin~refresh
|
||||||
call SysWait 0.5
|
call SysWait 0.25
|
||||||
self~ProcessSelection(menuwin, key)
|
self~ProcessSelection(menuwin, key)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
@ -185,32 +187,32 @@
|
|||||||
when key_char = 'a' then do
|
when key_char = 'a' then do
|
||||||
menuwin~mvaddstr(19 - 3, 5, "I would launch the ADD panel ");
|
menuwin~mvaddstr(19 - 3, 5, "I would launch the ADD panel ");
|
||||||
menuwin~refresh
|
menuwin~refresh
|
||||||
call SysWait 1
|
call SysWait 0.25
|
||||||
END
|
END
|
||||||
when key_char = 'r' then do
|
when key_char = 'r' then do
|
||||||
menuwin~mvaddstr(19 - 3, 5, "I would launch the REMOVE panel ");
|
menuwin~mvaddstr(19 - 3, 5, "I would launch the REMOVE panel ");
|
||||||
menuwin~refresh
|
menuwin~refresh
|
||||||
call SysWait 1
|
call SysWait 0.25
|
||||||
END
|
END
|
||||||
when key_char = 'e' then do
|
when key_char = 'e' then do
|
||||||
menuwin~mvaddstr(19 - 3, 5, "I would launch the EDIT panel ");
|
menuwin~mvaddstr(19 - 3, 5, "I would launch the EDIT panel ");
|
||||||
menuwin~refresh
|
menuwin~refresh
|
||||||
call SysWait 1
|
call SysWait 0.25
|
||||||
END
|
END
|
||||||
when key_char = 's' then do
|
when key_char = 's' then do
|
||||||
menuwin~mvaddstr(19 - 3, 5, "I would launch the SEARCH panel ");
|
menuwin~mvaddstr(19 - 3, 5, "I would launch the SEARCH panel ");
|
||||||
menuwin~refresh
|
menuwin~refresh
|
||||||
call SysWait 1
|
call SysWait 0.25
|
||||||
END
|
END
|
||||||
when key_char = 'l' then do
|
when key_char = 'l' then do
|
||||||
menuwin~mvaddstr(19 - 3, 5, "I would launch the LIST panel ")
|
menuwin~mvaddstr(19 - 3, 5, "I would launch the LIST panel ")
|
||||||
menuwin~refresh
|
menuwin~refresh
|
||||||
call SysWait 1
|
call SysWait 0.25
|
||||||
END
|
END
|
||||||
when key_char = 'q' then do
|
when key_char = 'q' then do
|
||||||
menuwin~mvaddstr(19 - 3, 5, "Exiting The Application... ");
|
menuwin~mvaddstr(19 - 3, 5, "Exiting The Application... ");
|
||||||
menuwin~refresh
|
menuwin~refresh
|
||||||
call SysWait 1
|
call SysWait 0.25
|
||||||
menuwin~endwin
|
menuwin~endwin
|
||||||
.environment['STOPNOW'] = 1
|
.environment['STOPNOW'] = 1
|
||||||
END
|
END
|
||||||
|
Loading…
Reference in New Issue
Block a user