feat: migrate to a daemon to support windowing in future. allow to run without attached console

This commit is contained in:
Stevan Freeborn
2026-01-26 12:44:50 -06:00
parent db0cd51818
commit 3b40d30744
3 changed files with 40 additions and 12 deletions
+3 -1
View File
@@ -1,6 +1,6 @@
use std::{fmt::Display, path::PathBuf};
use iced::widget::text_editor;
use iced::{widget::text_editor, window};
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum FileAction {
@@ -63,6 +63,8 @@ impl Display for ViewAction {
#[derive(Debug, Clone)]
pub enum Message {
WindowOpened(window::Id),
WindowClosed(window::Id),
Edit(text_editor::Action),
FileActionSelected(FileAction),
ViewActionSelected(ViewAction),