diff options
| author | Trim Bresilla | 2024-12-03 02:23:09 +0100 |
|---|---|---|
| committer | lukeflo | 2024-12-23 21:03:19 +0100 |
| commit | 98deb23810ba4142082f82939f25d44d3094a34f (patch) | |
| tree | b9c1a4ca4845d83f0882c5397f067f116b1202ae /src/app.rs | |
| parent | 86d48aa48b9951b6cbc471113844d16683051f8f (diff) | |
| download | bibiman-98deb23810ba4142082f82939f25d44d3094a34f.tar.gz bibiman-98deb23810ba4142082f82939f25d44d3094a34f.zip | |
feat: finalize basic "AddEntry" to add from DOI
- Modify the `handle_new_entry_submission` method to accept additional arguments.
- Add error handling for failed inserts when appending to the file.
- Introduce a new method `append_to_file` to handle file appending logic.
- Update file handling to ensure new entries are correctly written to the specified file.
Diffstat (limited to 'src/app.rs')
| -rw-r--r-- | src/app.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -108,7 +108,7 @@ impl App { } KeyCode::Enter => { // Handle submission of the new entry - self.bibiman.handle_new_entry_submission(); + self.bibiman.handle_new_entry_submission(args); self.bibiman.close_popup(); self.input_mode = false; } |
