Skip to content

Commit

Permalink
Better way to clear terminal in action_tab_active_shell
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremypw committed Jun 20, 2024
1 parent 51a2b93 commit f12db05
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -947,9 +947,7 @@ namespace Terminal {
}

// Clear any partially entered command
//TODO Find a better way
var bs_string = string.nfill (1000, '\b');
term.feed_child (bs_string.data);
term.reload ();

// Change to requested directory
var command = "cd '" + path + "'\n";
Expand Down

0 comments on commit f12db05

Please sign in to comment.