Free-form keyboard input - Factor Documentation (original) (raw)

Free-form keyboard input
Factor handbook » UI framework » Implementing new gadgets » UI gestures

Prev: Action gestures
Next: Mouse gestures

Whereas keyboard gestures are intended to be used for keyboard shortcuts, certain gadgets such as text fields need to accept free-form keyboard input. This can be done by implementing a generic word:
user-input* ( str gadget -- ? )