Commit graph

100 commits

Author SHA1 Message Date
Michael Sippel 35498a2fa7
begin refactor to node-struct and obj-commmander 2022-12-18 01:20:17 +01:00
Michael Sippel bcbeb2298a
allow nested contexts
improve make_editor
2022-11-19 01:45:57 +01:00
Michael Sippel bed4bc329b
cleanup editor constructors 2022-11-18 00:21:29 +01:00
Michael Sippel 2db92ef6aa
sum editor: forward diagnostics 2022-11-18 00:13:02 +01:00
Michael Sippel 0a8c77772c
replace TerminalTreeEditor with Nested trait 2022-11-13 15:26:25 +01:00
Michael Sippel 97624e1a8e
char editor: dont exit on invalid input 2022-11-05 23:44:44 +01:00
Michael Sippel 1588375e7d
fix style 2022-11-05 23:44:16 +01:00
Michael Sippel 96e47c3cd5
sum editor 2022-11-05 22:33:46 +01:00
Michael Sippel 294013de02 sequence enumerate(): rename variable 2022-11-05 11:57:06 +01:00
Michael Sippel 4b8b857134 commander: display error on invalid symbol 2022-11-05 11:57:06 +01:00
Michael Sippel 912f08e914 grid area: correctly convert empty set to empty range 2022-11-05 11:57:06 +01:00
Michael Sippel 06c90197da product editor: update diagnostics view 2022-11-05 11:57:06 +01:00
Michael Sippel 8eea49a688 grid flatten: fix corner case when chunk shrinks to zero area
wrong integer cast caused endless iterator
2022-11-05 11:57:06 +01:00
Michael Sippel 273f20d3db pty list: add split key 2022-11-05 11:57:06 +01:00
Michael Sippel b2f437d7df add diagnostics; contanis some bugs 2022-11-05 11:57:06 +01:00
Michael Sippel 906cc51329 sequence: add enumerate() 2022-11-05 11:57:06 +01:00
Michael Sippel 5dd4773205 product editor: fix out-of-bounds in edge case 2022-11-05 11:57:06 +01:00
Michael Sippel 096e343f25 improve colors 2022-11-05 11:57:06 +01:00
Michael Sippel 21f7043ef0 product editor: fix background color highlighting
introduce update_segment() to simplify updating of meta information of segments
2022-11-05 11:57:06 +01:00
Michael Sippel 507887535f list nav: catch some out of bounds errors 2022-11-05 11:57:06 +01:00
Michael Sippel 4e02b41a77 shell: first commander prototype 2022-11-05 11:56:56 +01:00
Michael Sippel 55eb594521
product editor: grid layout 2022-06-26 00:49:35 +02:00
Michael Sippel d8e8f763a6
cleanup product editor 2022-06-24 15:54:05 +02:00
Michael Sippel 5fef75e24f
listeditor cleanup 2022-06-19 23:13:21 +02:00
Michael Sippel b0b91af2ad
sequence decorators 2022-06-17 18:20:13 +02:00
Michael Sippel 87ed4ef1ca
buffers: store inner viewport instead of cast 2022-06-17 18:19:04 +02:00
Michael Sippel 0ded47410c
product editor: move tree nav to separate file 2022-05-23 22:51:23 +02:00
Michael Sippel f118eada34
product editor 2022-05-08 23:30:49 +02:00
Michael Sippel 61c2d55441
IndexArea: start at (0,0) for empty range 2022-02-13 16:40:05 +01:00
Michael Sippel 8239b1e8d5 singleton2index: dont use Full area 2022-02-10 21:17:21 +01:00
Michael Sippel 31a8202dd7
IndexArea.range(): set end to 0 instead of max
avoids capacity overflow
2021-11-29 09:12:22 +01:00
Michael Sippel 411b773ab5
fix warnings & format 2021-11-19 12:19:52 +01:00
Michael Sippel bf8a949cdd
move plot to separate file 2021-11-19 12:04:37 +01:00
Michael Sippel f480b79031
try to improve ansi parsing 2021-11-18 22:55:32 +01:00
Michael Sippel ef1a477d4a
ansi parser: PtyView to display cursor & scrolling 2021-11-18 17:47:29 +01:00
Michael Sippel 4ab20be1c5
SingletonBuffer: add get_mut() 2021-11-18 14:43:10 +01:00
Michael Sippel 941da4ed7d
add grid/buffer 2021-11-17 22:32:31 +01:00
Michael Sippel c9c6958a62
process editor: write keyboard input to pty 2021-11-11 22:29:37 +01:00
Michael Sippel 43321d18fb
some more ansi parsing improvements 2021-11-09 02:56:21 +01:00
Michael Sippel 4ad8316636
improve ansi parsing 2021-11-07 17:42:36 +01:00
Michael Sippel 05a189a2bb
implement some more ansi codes 2021-11-07 09:43:50 +01:00
Michael Sippel 2fd209c502
list editor: catch out of bounds in ListEditor::get_item() 2021-11-07 08:50:36 +01:00
Michael Sippel 7fdc0bf272
optimize index views with IndexArea enum to allow range based notifications 2021-11-07 08:48:04 +01:00
Michael Sippel bfd27fa3fa
update dependencies 2021-10-01 16:29:18 +02:00
Michael Sippel c68a9f785d
shell: use a ListEditor of ProcessLaunchers in top level 2021-09-24 23:31:09 +02:00
Michael Sippel 372ef9cb77
shell: use portable-pty crate instead of pty-rs 2021-09-15 15:24:39 +02:00
Michael Sippel 1076d2a1e9 Merge branch 'topic-sdf' 2021-09-14 23:50:58 +02:00
Michael Sippel edb8416f67
terminal: filter out of bounds atoms 2021-09-13 01:41:29 +02:00
Michael Sippel cdeb0f9bc8
list editor: fix out of bounds on backspace 2021-09-12 17:39:24 +02:00
Michael Sippel 880610c39d
IntegerEditor: reverse digit sequence in get_value() to use the more commonplace endiannes as default 2021-09-10 02:06:24 +02:00