summaryrefslogtreecommitdiff
path: root/src/edit.rs
Commit message (Collapse)AuthorAgeFilesLines
* edit: simplify expressionPhilipp Gesang2022-12-021-6/+2
|
* edit: implement the actual save operationPhilipp Gesang2022-08-271-48/+80
| | | | | We save palettes in the format that can be directly re-parsed by vtcol.
* edit: implement simple command parserPhilipp Gesang2022-08-271-19/+82
| | | | Just single-letter commands at this point.
* edit: implement command mode input handlingPhilipp Gesang2022-08-251-18/+126
|
* edit: add a command mode and status barPhilipp Gesang2022-08-221-7/+45
|
* edit: improve color box compositionPhilipp Gesang2022-08-221-7/+12
|
* 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.