From 2613dfab3a7d19924843114212427bed287ab472 Mon Sep 17 00:00:00 2001 From: gambas Date: Mon, 14 Jun 2021 00:18:02 +0200 Subject: [PATCH] TerminalView: Ignore errors if resizing the running process virtual terminal fails. [GB.FORM.TERMINAL] * BUG: TerminalView: Ignore errors if resizing the running process virtual terminal fails. --- comp/src/gb.form.terminal/.src/TerminalView/TerminalView.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comp/src/gb.form.terminal/.src/TerminalView/TerminalView.class b/comp/src/gb.form.terminal/.src/TerminalView/TerminalView.class index 2e77585eb..2aa2649ac 100644 --- a/comp/src/gb.form.terminal/.src/TerminalView/TerminalView.class +++ b/comp/src/gb.form.terminal/.src/TerminalView/TerminalView.class @@ -339,7 +339,7 @@ End Public Sub ResizeTimer_Timer() - If $hProcess Then $hProcess.Term.Resize($hScreen.Width, $hScreen.Height) + If $hProcess Then Try $hProcess.Term.Resize($hScreen.Width, $hScreen.Height) $hResizeTimer.Stop End