From 87000ab8a0518bb4b7f07b62133ec217f750efd1 Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Thu, 24 Apr 2025 17:00:44 +0200 Subject: [PATCH] Terminal: Return true in base resizePty implementation If there is no real pty we should return true, otherwise terminals without a pty stop working correctly (see compiler explorer output terminal) Amends: 4a6fc56556b1b6708ec0eb0d7b7536bbb2578777 Change-Id: Id9cb59ac289d98c64e3cf930e97ed5e71f76380e Reviewed-by: Cristian Adam --- src/libs/solutions/terminal/terminalview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/solutions/terminal/terminalview.h b/src/libs/solutions/terminal/terminalview.h index 57120849d14..73bd2d8cd84 100644 --- a/src/libs/solutions/terminal/terminalview.h +++ b/src/libs/solutions/terminal/terminalview.h @@ -128,7 +128,7 @@ public: virtual bool resizePty(QSize newSize) { Q_UNUSED(newSize) - return false; + return true; } virtual void setClipboard(const QString &text) { Q_UNUSED(text) }