diff options
| author | lukeflo | 2024-11-22 14:04:42 +0100 |
|---|---|---|
| committer | lukeflo | 2024-11-22 14:04:42 +0100 |
| commit | e5274a2e0c3c6ba62d12420d487e3725e154cee4 (patch) | |
| tree | 59300d8c6586b878584bb61b8dbe2ceba2c14e6e /src/tui/ui.rs | |
| parent | 2621a347a0e6f2a2e1b625ca26aad3a0cf8e58f5 (diff) | |
| download | bibiman-e5274a2e0c3c6ba62d12420d487e3725e154cee4.tar.gz bibiman-e5274a2e0c3c6ba62d12420d487e3725e154cee4.zip | |
open multiple files: per CLI possible
Diffstat (limited to 'src/tui/ui.rs')
| -rw-r--r-- | src/tui/ui.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tui/ui.rs b/src/tui/ui.rs index 74b10d7..fd0fc6f 100644 --- a/src/tui/ui.rs +++ b/src/tui/ui.rs @@ -366,8 +366,8 @@ pub fn render_file_info(app: &mut App, frame: &mut Frame, rect: Rect) { let file_info = Line::from(vec![ Span::raw("File: ").bold(), Span::raw( - app.bibiman - .main_bibfile + // TODO: Only for testing! Need to replace with dir or files vec + app.bibiman.main_bibfiles[0] .file_name() .unwrap() .to_string_lossy(), |
