killing of the buffer working

This commit is contained in:
filipriec
2025-04-15 18:33:42 +02:00
parent 5e482cd77b
commit 8d41beef0b
2 changed files with 19 additions and 0 deletions

View File

@@ -100,6 +100,7 @@ pub async fn back_to_main(
app_state.hide_dialog(); // Uncomment if needed
// Navigation logic (currently disabled in original code)
let closed = buffer_state.close_active_buffer();
buffer_state.update_history(AppView::Intro);
// Reset focus state