[console] tab: detect Mosh and Eternal Terminal as remote too
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [console] tab: detect Mosh and Eternal Terminal as remote too
- Date: Sat, 6 Aug 2022 19:32:50 +0000 (UTC)
commit 2f2ebde2c98256bda14f38851b2892fec57e20b6
Author: Anders Kaseorg <andersk mit edu>
Date: Mon Mar 28 22:42:21 2022 -0700
tab: detect Mosh and Eternal Terminal as remote too
Fix: https://gitlab.gnome.org/GNOME/console/-/issues/141
Signed-off-by: Anders Kaseorg <andersk mit edu>
src/kgx-tab.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/kgx-tab.c b/src/kgx-tab.c
index bfc9d88..cffb6fe 100644
--- a/src/kgx-tab.c
+++ b/src/kgx-tab.c
@@ -985,7 +985,9 @@ kgx_tab_push_child (KgxTab *self,
program = g_path_get_basename (argv[0]);
}
- if (G_UNLIKELY (g_strcmp0 (program, "ssh") == 0)) {
+ if (G_UNLIKELY (g_strcmp0 (program, "ssh") == 0 ||
+ g_strcmp0 (program, "mosh-client") == 0 ||
+ g_strcmp0 (program, "et") == 0)) {
new_status |= push_type (priv->remote, pid, NULL, context, KGX_REMOTE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]