summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/jvn.rs1
-rw-r--r--src/cmds/cmd/sheetedit.rs5
-rw-r--r--src/systems/cmd/cmd_system.rs1
3 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/jvn.rs b/src/bin/jvn.rs
index f45c78b..3a95a45 100644
--- a/src/bin/jvn.rs
+++ b/src/bin/jvn.rs
@@ -114,6 +114,7 @@ async fn main() {
help,
confirmed,
args: args.clone(),
+ lang,
},
renderer_override,
);
diff --git a/src/cmds/cmd/sheetedit.rs b/src/cmds/cmd/sheetedit.rs
index 74b0bbe..2dfbbfb 100644
--- a/src/cmds/cmd/sheetedit.rs
+++ b/src/cmds/cmd/sheetedit.rs
@@ -10,9 +10,8 @@ use crate::{
},
};
use cli_utils::{
- display::table::Table,
- legacy::{env::get_default_editor, input::input_with_editor_cutsom},
- string_vec,
+ display::table::Table, env::editor::get_default_editor,
+ input::editor::input_with_editor_cutsom, string_vec,
};
use cmd_system_macros::exec;
use just_enough_vcs::system::sheet_system::{mapping::LocalMapping, sheet::SheetData};
diff --git a/src/systems/cmd/cmd_system.rs b/src/systems/cmd/cmd_system.rs
index 05fe5e7..67f5c7f 100644
--- a/src/systems/cmd/cmd_system.rs
+++ b/src/systems/cmd/cmd_system.rs
@@ -18,6 +18,7 @@ pub struct JVCommandContext {
pub help: bool,
pub confirmed: bool,
pub args: Vec<String>,
+ pub lang: String,
}
pub trait JVCommand<Argument, Input, Collect>