This commit is contained in:
2025-11-11 15:30:07 -07:00
parent 48186cd680
commit e92d6b309e
3 changed files with 44 additions and 18 deletions

View File

@@ -10,9 +10,9 @@ use ratatui::{
};
use crate::app::{
calc::{Grid, LEN},
calc::Grid,
error_msg::ErrorMessage,
mode::{Chord, Mode}, screen::ScreenSpace,
mode::Mode, screen::ScreenSpace,
};
pub struct App {
@@ -321,7 +321,7 @@ fn test_quit_cmd() {
let mut app = App::new();
assert!(!app.exit);
app.mode = Mode::Command(Chord::from(":q".to_string()));
app.mode = Mode::Command(crate::app::mode::Chord::from(":q".to_string()));
Mode::process_cmd(&mut app);
assert!(app.exit);