Jonathan Daugherty
c9686dd713
keybindingHelpWidget: docs
2022-08-02 19:54:29 -07:00
Jonathan Daugherty
b3cb7a54b4
CustomKeybindingDemo: edit
2022-08-02 19:52:14 -07:00
Jonathan Daugherty
f6ec9233ab
CustomKeybindingDemo: comment
2022-08-02 19:51:05 -07:00
Jonathan Daugherty
dc783e4126
CustomKeybindingDemo: comment
2022-08-02 19:50:13 -07:00
Jonathan Daugherty
d7f8e4daf4
CustomKeybindingDemo: add an example of a hard-coded key event handler
2022-08-02 19:48:47 -07:00
Jonathan Daugherty
4884df8aa6
keybindEventHelpWidget: slightly improve formatting of "comments"
2022-08-02 19:48:37 -07:00
Jonathan Daugherty
286c88b137
CustomKeybindingDemo: comment
2022-08-02 19:44:44 -07:00
Jonathan Daugherty
5996440eb3
CustomKeybindingDemo: comment
2022-08-02 19:44:05 -07:00
Jonathan Daugherty
1807e6d8d9
CustomKeybindingDemo: comments
2022-08-02 19:42:57 -07:00
Jonathan Daugherty
ccad8abb27
keybindingHelpWidget: do not require input to come with a section heading
2022-08-02 19:40:23 -07:00
Jonathan Daugherty
a359dc0d82
keybindEventHelpWidget: cleanup
2022-08-02 19:24:43 -07:00
Jonathan Daugherty
fec4c11477
Add initial custom keybinding demo program
2022-08-02 19:24:35 -07:00
Jonathan Daugherty
a8e1bf5909
Merge refactor/event-state-monad
2022-08-02 18:49:36 -07:00
Jonathan Daugherty
dac749f9e0
keybindingsFromIni: document return value
2022-08-02 10:53:14 -07:00
Jonathan Daugherty
05c8c16787
KeyDispatcher: mention INI routine step
2022-08-02 10:51:57 -07:00
Jonathan Daugherty
7f892f93b6
Keybindings: re-export Parse module
2022-08-02 10:50:14 -07:00
Jonathan Daugherty
0561cccda0
Keybindings.Parse: add routines for parsing custom keybindings from INI files
2022-08-02 10:40:33 -07:00
Jonathan Daugherty
a531929db2
ToBinding: toBinding -> bind
2022-08-02 08:04:16 -07:00
Jonathan Daugherty
6c3ac0c541
Haddock fixes
2022-08-02 07:57:27 -07:00
Jonathan Daugherty
eb54e536a1
KeyConfig.hs: improve documentation
2022-08-01 13:32:34 -07:00
Jonathan Daugherty
e91462e1c1
KeyConfig.hs: improve documentation
2022-08-01 13:30:32 -07:00
Jonathan Daugherty
bb0ccad5b5
handleKeyboardEvent -> handleKey, take key/modifiers rather than Vty Event
2022-08-01 13:17:43 -07:00
Jonathan Daugherty
048aaa6643
Keybindings: documentation
2022-08-01 13:08:10 -07:00
Jonathan Daugherty
8267089711
mkKeybindings -> keyDispatcher
2022-08-01 13:06:20 -07:00
Jonathan Daugherty
a50da870de
mkKeybindings: use a more natural argument order
2022-08-01 13:03:12 -07:00
Jonathan Daugherty
9451379890
KeyDispatcher: add module haddock
2022-08-01 13:01:50 -07:00
Jonathan Daugherty
02cb6f9a90
KeyDispatcher: section reordering
2022-08-01 12:53:25 -07:00
Jonathan Daugherty
8249d1ea77
KeyHandlerMap -> KeyDispatcher
2022-08-01 12:52:13 -07:00
Jonathan Daugherty
2d5f1c4daa
KeyHandlerMap: add more documentation
2022-08-01 12:48:10 -07:00
Jonathan Daugherty
eebf028734
KeyHandlerMap: improve the names of some fields and constructors
2022-08-01 12:38:46 -07:00
Jonathan Daugherty
b97f6e19dc
Keybindings.Pretty: add documentation
2022-08-01 12:32:22 -07:00
Jonathan Daugherty
e8557117e7
parseBinding: do not ignore case on parsed base key character
2022-08-01 11:56:25 -07:00
Jonathan Daugherty
276cf22331
Keybindings.Parse: documentation
2022-08-01 11:56:12 -07:00
Jonathan Daugherty
2e30bbe33e
Haddock nit
2022-08-01 11:36:00 -07:00
Jonathan Daugherty
b7be977d33
KeyEvents: add documentation
2022-08-01 11:35:16 -07:00
Jonathan Daugherty
57679a8f71
newKeyConfig: use a more natural argument ordering
2022-08-01 11:34:59 -07:00
Jonathan Daugherty
5f35cd0e3e
KeyConfig: more documentation improvements
2022-08-01 11:29:18 -07:00
Jonathan Daugherty
d83b5eae94
ToBinding: improve description
2022-08-01 11:25:55 -07:00
Jonathan Daugherty
8a3ea98284
KeyConfig: remove redundant key and char functions, improve modifier internals
2022-08-01 11:25:08 -07:00
Jonathan Daugherty
7651cdd546
KeyConfig: add more documentation
2022-08-01 11:22:05 -07:00
Jonathan Daugherty
d81ce60ffb
allActiveBindings: only return default bindings when an event has no configured bindings and has not been set to Unbound
2022-08-01 11:06:05 -07:00
Jonathan Daugherty
eedd503cf2
KeyConfig: make active/default binding query functions symmetric
2022-07-28 19:03:55 -07:00
Jonathan Daugherty
c9963d0429
renderRadio: remove unnecessary hBox
2022-07-28 18:43:26 -07:00
Jonathan Daugherty
db98ec8a73
Merge branch 'master' into refactor/event-state-monad
2022-07-28 18:37:03 -07:00
Jonathan Daugherty
79134f8150
Merge pull request #383 from frasertweedale/refactor/list
...
refactor some list functions (use listSelectedElementL)
2022-07-28 18:36:40 -07:00
Jonathan Daugherty
23fc05e180
Whitespace
2022-07-28 18:31:52 -07:00
Jonathan Daugherty
02c9acfe64
Forms: style nit
2022-07-28 18:31:18 -07:00
Jonathan Daugherty
e8ed13ee42
Forms: suppress unused lens warning
2022-07-28 18:29:25 -07:00
Fraser Tweedale
6dc25d7904
refactor some list functions
...
Use listSelectedElementL to simplify the implementation and improve
asymptotics of some list functions. Introduces some additional
constraints on these functions, so this change requires a major
version bump.
- `listModify`: Improved asymptotics for `Seq`. Introduces
`Splittable` and `Semigroup` constraint.
- `listSelectedElement`: Simpler definition. Asymptotics unchanged.
Introduces `Semigroup` constraint and strengthens `Foldable`
constraint to `Traversable`.
2022-07-29 11:25:26 +10:00
Jonathan Daugherty
f1d510f83b
Merge branch 'master' into refactor/event-state-monad
2022-07-28 18:16:09 -07:00