[gnome-builder] terminal: always use a new PTY for split



commit 02420c92de8140480dc78e4c5b78cf4e551d06db
Author: Christian Hergert <chergert redhat com>
Date:   Tue Feb 22 11:10:23 2022 -0800

    terminal: always use a new PTY for split
    
    This shouldn't ever be sharing a PTY with the page it was split from.

 src/libide/terminal/ide-terminal-page.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/terminal/ide-terminal-page.c b/src/libide/terminal/ide-terminal-page.c
index 72f351f7c..dd67323a9 100644
--- a/src/libide/terminal/ide-terminal-page.c
+++ b/src/libide/terminal/ide-terminal-page.c
@@ -339,7 +339,7 @@ gbp_terminal_page_create_split (IdePage *page)
                        "close-on-exit", self->close_on_exit,
                        "launcher", self->launcher,
                        "manage-spawn", self->manage_spawn,
-                       "pty", self->manage_spawn ? NULL : self->pty,
+                       "pty", NULL,
                        "respawn-on-exit", self->respawn_on_exit,
                        "visible", TRUE,
                        NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]