The Vermont Views system saves, in a global variable, the value of the last keycode read by ki(). To find out what this keycode is, call the last key function, ki_last():
|
This function returns a keycode value.
ki_last() is useful for determining what to do based on the last thing the user did. For instance, you can specify that when the user presses Home twice, the virtual cursor goes to the top left corner of a window. If Home is pressed only once, the virtual cursor goes to the beginning of the current row.
|