summaryrefslogtreecommitdiff
path: root/src/edit.rs
Commit message (Collapse)AuthorAgeFilesLines
* edit: implement basic insert mode switchPhilipp Gesang2022-08-191-23/+47
| | | | | Where <i> or <CR> enter “insert mode” (i. e. activate the Edit widget) and <Esc> leaves it again.
* edit: add setter for palette colorsPhilipp Gesang2022-08-191-0/+19
|
* edit: make selection on click actually workPhilipp Gesang2022-08-191-8/+26
| | | | | | Funneled into the ``Edit`` component via globals which seems to be the only (?) way of propagating these things between elements that don’t have one another in scope.
* edit: display color componentsPhilipp Gesang2022-08-181-2/+87
| | | | Still no actual editing though.
* edit: implement hjkl key bindingsPhilipp Gesang2022-08-181-3/+21
|
* edit: implement color box selectionPhilipp Gesang2022-08-181-4/+31
|
* edit: abstract out the color viewsPhilipp Gesang2022-08-181-96/+77
|
* edit: convert color ids to TextInputPhilipp Gesang2022-08-171-2/+4
|
* edit: scale color box width to window sizePhilipp Gesang2022-08-171-8/+8
|
* edit: present color palettePhilipp Gesang2022-08-081-0/+184
No actual editing functionality yet, just the colors layed out as squares on an 8?2 grid.