b2eb9aef6e
[tui] Add EditorTab widget.
...
+ This adds support for tabbed editors wrapped by EditorTab widgets.
+ The Explorer widget now opens new EditorTabs when a file is selected
with Enter.
+ The same file may not be opened multiple times.
+ Tabs can be switched with ALT+h or ALT+l (or ALT+ arrow keys)
+ Tabs cannot yet be closed :)
Fixes #9
2026-01-24 19:46:04 -05:00
5d2a7fa0a1
[tui] Rename title_bar.rs
2026-01-24 16:31:36 -05:00
45d665f8f6
[tui] Implement Widget for Explorer and MenuBar.
2026-01-24 16:30:22 -05:00
f531886255
[tui] Handle MenuBar actions.
...
Fixes #7 .
2026-01-24 16:06:50 -05:00
4e9aedd34c
[tui] Renames.
2026-01-24 15:40:19 -05:00
78c13f5766
[tui] Add TitleBar popups for drop-down menus.
2026-01-24 15:33:48 -05:00
82ad3ab29f
[tui] Add TitleBar struct to handle rendering.
...
This will support adding drop-down menus.
For now, the widget just highlights which item you selected in the title
bar with left / right keys.
2026-01-24 14:22:42 -05:00
dd55d7fc5f
[tui] Handle mouse input for all widgets.
...
This way you can still click to interact with the file explorer while
editing a file, for example, without changing widget focus.
2026-01-24 12:49:33 -05:00
aa4bf8aea6
[tui] Add help text for last focused widget.
...
+ Fill in TODO help text for all widgets.
2026-01-24 12:32:08 -05:00
029e0b2952
[tui] Remove AppComponent data.
...
It just seems to be simpler this way.
2026-01-24 11:46:00 -05:00
a3c1065f96
[tui] Add bottom status bar with help text.
...
Fixes #3
2026-01-22 20:36:26 -05:00
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
3ffdcc2865
[gui] Update cxx-qt dependencies to 0.8.0.
2026-01-20 12:44:13 -05:00
ecd94a2621
Update to use clap.
...
Structopt is deprecated.
Also removed some unused dependencies.
2026-01-20 12:24:20 -05:00
2713d29285
[tui] Store SyntaxSet in the Editor.
2026-01-20 12:06:06 -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
a8de77f370
[tui] WIP neovim editor.
2026-01-17 19:21:14 -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
7fe3e3e14d
WIP ratatui.
2026-01-17 11:41:48 -05:00
cf59fdfcca
Embed SVG icons.
2025-04-19 13:49:29 -04:00
6a4957588d
Pass root path to GUI process.
2025-04-13 13:47:12 -04:00
f4242f7749
Factor out TUI code.
2025-04-13 12:17:11 -04:00
fd3c8fb204
Factor out GUI code.
2025-04-13 12:15:31 -04:00
fd9d47f0c0
Clean up.
2025-04-13 12:09:18 -04:00
d53ef9aa1b
Launch clide in separate process by default.
...
Improve CLI to support tui and gui modes.
Also supports attaching the GUI to the current terminal via -g
2025-04-13 11:58:28 -04:00
a29ae43e84
Use CWD if no directory is provided.
2025-04-13 11:01:37 -04:00
41a9a2a3bf
Use structopt.
2025-04-13 10:21:02 -04:00
7bf6c3299c
Add basic CLI for launching head(less) mode.
2025-04-13 09:35:55 -04:00
90c10d2a16
Debug missing console placeholder text.
...
It appears on resizing horizontally
2025-04-13 08:31:41 -04:00
2dcf0529d1
Custom highlighting to fix UI bugs.
...
+ Selecting text caused blurry editor view.
+ Now prefers syntect theme background color over QML background color.
2025-04-12 13:33:39 -04:00
f740ff347b
Fix file loading.
2025-03-31 22:56:57 -04:00
9b86553513
Add syntax highlighting with syntect.
2025-03-31 22:32:17 -04:00
365940267f
Add some checks before reading file.
2025-03-31 19:26:04 -04:00
b426b88b79
Fix colors.
2025-03-30 21:58:38 -04:00
bdf942371c
Add basic FileSystem view.
2025-03-30 21:38:57 -04:00