39 Commits

Author SHA1 Message Date
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
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
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
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
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
b62dce631f Add ClideTreeView. 2025-03-30 16:14:58 -04:00
1546eb1028 Add FileSystem Rust module. 2025-03-30 13:50:23 -04:00
4f3aebe64f Add basic stub for filesystem. 2025-03-30 13:14:58 -04:00
0f055603a2 Remove unused LineCount. 2025-03-30 11:51:23 -04:00
d2f5823594 Add RustColors singleton helper. 2025-03-30 11:20:21 -04:00
500a329dea Separate LineCount from main. 2025-03-29 20:14:42 -04:00
13a405a801 Add LineCount module. 2025-03-29 16:55:26 -04:00
59acdc48fa Initial commit. 2025-03-29 08:03:32 -04:00