Skip to content

Commit

Permalink
Save current tabs, tab-zooms when is focus in (necessary when was clo…
Browse files Browse the repository at this point in the history
…sed another terminal)
  • Loading branch information
ldrahnik committed Oct 30, 2023
1 parent 2cebd34 commit 9a9d24a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@ namespace Terminal {
if (recreate_tabs) {
open_tabs ();
}

focus_in_event.connect (() => {
save_opened_terminals_with_zooms ();
});
}

public void add_tab_with_working_directory (string? directory, string? command = null, bool create_new_tab = false) {
Expand Down

0 comments on commit 9a9d24a

Please sign in to comment.