From 7d16bded7e94957c8666a983d3556ac431fb65d6 Mon Sep 17 00:00:00 2001 From: Jeremy Wootten Date: Mon, 16 Dec 2024 16:14:12 +0000 Subject: [PATCH] Use reset function instead of feeding command --- src/Widgets/TerminalWidget.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Widgets/TerminalWidget.vala b/src/Widgets/TerminalWidget.vala index 7206af1c0b..a05fca0527 100644 --- a/src/Widgets/TerminalWidget.vala +++ b/src/Widgets/TerminalWidget.vala @@ -547,7 +547,7 @@ namespace Terminal { ) { // This also clears the screen and the scrollback // We know there is no foreground process so we can just feed the command in - feed_child ("reset\n".data); + reset (true, true); } }