diff options
| author | lukeflo | 2024-11-23 01:03:00 +0100 |
|---|---|---|
| committer | lukeflo | 2024-11-23 01:03:00 +0100 |
| commit | 56ce42228ca48c3d940ea01bce6c11bdfb498bce (patch) | |
| tree | 10db6a6e1ac810263948e369db33f568130d541a /src/tui | |
| parent | e354e97facdf61abb20a06f5bae2bac5e86c2d62 (diff) | |
| download | bibiman-56ce42228ca48c3d940ea01bce6c11bdfb498bce.tar.gz bibiman-56ce42228ca48c3d940ea01bce6c11bdfb498bce.zip | |
rename files arg field, start rewriting run_editor fn
Diffstat (limited to 'src/tui')
| -rw-r--r-- | src/tui/ui.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui/ui.rs b/src/tui/ui.rs index 41a18d8..84a1c29 100644 --- a/src/tui/ui.rs +++ b/src/tui/ui.rs @@ -351,7 +351,7 @@ pub fn render_file_info(app: &mut App, args: &CLIArgs, frame: &mut Frame, rect: Span::raw("File: ").bold(), Span::raw( // TODO: Only for testing! Need to replace with dir or files vec - args.pos_args[0].file_name().unwrap().to_string_lossy(), + args.fileargs[0].file_name().unwrap().to_string_lossy(), ) .bold(), ]) |
