Files
zesdex/src/app/mode/editor.rs
T

13 lines
320 B
Rust
Raw Normal View History

use crate::app::state::rest::AppStateRest;
use crate::app::state::types::Overlay;
pub fn handle_editor_input(state: &mut AppStateRest, text: String) {
let _ = text;
state.dirty = true;
}
pub fn handle_editor_dismiss(state: &mut AppStateRest) {
state.misc.overlay = Overlay::None;
state.dirty = true;
}