18 Commits

Author SHA1 Message Date
0c87fda795 [tui] Add basic support for focusing widgets.
It's pretty bad but it allows to control which widget accepts input.
2026-01-22 19:47:59 -05:00
a4413cd052 [tui] Clean up logging. 2026-01-21 20:28:24 -05:00
4d81cd51a6 [tui] Add ComponentOf trait.
I think it will help with fetching a component by type from the
Components vector attached to App?
2026-01-20 20:50:36 -05:00
7149ad0118 [tui] Add debug console.
The input will not be handled correctly until #8 is complete, but the
input logic is there and was tested.

Fixes #5.
2026-01-20 20:50:27 -05:00
1e635ee059 [tui] Use anyhow::bail!() macro. 2026-01-20 19:14:34 -05:00
42a40fe7f3 [tui] Remove most usage of expect().
Still not quite sure what to do about some pieces in QML bindings for
the GUI.
2026-01-20 17:20:37 -05:00
ce2949159c [tui] Add AppComponent enum for storing all components. 2026-01-20 16:03:38 -05:00
d2846e1e4e [tui] Set tab title to file name.
Also update to use anyhow::Result in some places.
2026-01-20 12:00:24 -05:00
bccc5a35e2 [tui] Add function for refreshing editor contents.
It's still temporary, but at least it isn't done ad-hoc.
2026-01-19 18:37:45 -05:00
e65eb20048 [tui] File explorer controls editor contents. 2026-01-19 17:41:46 -05:00
f10d4cd41d [tui] Allow saving file with CTRL+S.
+ Improved event handling in general.
2026-01-19 15:03:50 -05:00
507a4d8651 [tui] Cleanup and renames. 2026-01-19 10:27:06 -05:00
ce6c12f068 [tui] Move default input logic into ClideComponent. 2026-01-18 11:02:41 -05:00
fe6390c1cd [tui] Add edtui editor for basic vim emulation. 2026-01-18 10:09:28 -05:00
b35b98743b [tui] Clean up Border titles. 2026-01-17 17:39:13 -05:00
733a43ccde [tui] Add basic component trait. 2026-01-17 17:18:34 -05:00
b65565adfa [tui] Add Explorer widget for left panel. 2026-01-17 15:07:26 -05:00
fac6ea6bcd Create App struct for TUI. 2026-01-17 14:04:02 -05:00