Changes between Version 9 and Version 10 of KeyBindings
- Timestamp:
- 09/15/09 00:53:56 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
KeyBindings
v9 v10 12 12 - {{{[c]}}}: Any Unicode printable character (`Data.Char.isPrint` returns `True`) 13 13 - {{{[kill]}}}: the console's 'kill' character (usually `^U`) 14 15 === A note about `getInputChar` === 16 Haskeline's API has two functions for user input: `getInputLine`, which reads in a full line of input, and `getInputChar`, which returns as soon as 17 the user types any printable character. The command `^L` (clear-screen) can be used in both settings; however all other commands only apply to `getInputLine`. 18 14 19 == Commands shared by both bindings == 15 20 ||Left/right arrow || move the cursor left/right by one character|| … … 23 28 ||`^R`|| search backwards in history|| 24 29 ||`^S`|| search forwards in history|| 30 ||`M-k`|| search backwards in history for a line matching the contents to the left of the cursor|| 31 ||`M-j`|| search forwards in history for a line matching the contents to the left of the cursor|| 25 32 ||{{{[kill]}}}|| delete until the start of the line|| 26 33
