This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch tytab
in repository terminology.
View the commit online.
commit 2f33c44d0f397c20b1aab1692a8b9c82ebae4890
Author: [email protected] <[email protected]>
AuthorDate: Sun Mar 29 21:21:29 2026 -0600
feat: add tytab config toggle (default off)
Security layer 1: gate all tytab escape sequences behind a config
boolean that defaults to EINA_FALSE. Users must explicitly enable
tytab in settings.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
---
src/bin/config.c | 5 +++++
src/bin/config.h | 1 +
src/bin/win.c | 4 ++++
3 files changed, 10 insertions(+)
diff --git a/src/bin/config.c b/src/bin/config.c
index fcc76e24..d2f09b87 100644
--- a/src/bin/config.c
+++ b/src/bin/config.c
@@ -165,6 +165,8 @@ config_init(void)
(edd_base, Config, "drag_links", drag_links, EET_T_UCHAR);
EET_DATA_DESCRIPTOR_ADD_BASIC
(edd_base, Config, "login_shell", login_shell, EET_T_UCHAR);
+ EET_DATA_DESCRIPTOR_ADD_BASIC
+ (edd_base, Config, "tytab", tytab, EET_T_UCHAR);
EET_DATA_DESCRIPTOR_ADD_BASIC
(edd_base, Config, "mouse_over_focus",
mouse_over_focus, EET_T_UCHAR);
@@ -311,6 +313,7 @@ config_sync(const Config *config_src, Config *config)
config->temporary = config_src->temporary;
config->custom_geometry = config_src->custom_geometry;
config->login_shell = config_src->login_shell;
+ config->tytab = config_src->tytab;
config->cg_width = config_src->cg_width;
config->cg_height = config_src->cg_height;
config->colors_use = config_src->colors_use;
@@ -585,6 +588,7 @@ config_new(void)
#else
config->login_shell = EINA_FALSE;
#endif
+ config->tytab = EINA_FALSE;
config->mouse_over_focus = EINA_TRUE;
config->disable_focus_visuals = EINA_FALSE;
config->colors_use = EINA_FALSE;
@@ -880,6 +884,7 @@ config_fork(const Config *config)
CPY(erase_is_del);
CPY(custom_geometry);
CPY(login_shell);
+ CPY(tytab);
CPY(cg_width);
CPY(cg_height);
CPY(colors_use);
diff --git a/src/bin/config.h b/src/bin/config.h
index a3218d60..61fc513d 100644
--- a/src/bin/config.h
+++ b/src/bin/config.h
@@ -92,6 +92,7 @@ struct tag_Config
Eina_Bool custom_geometry;
Eina_Bool drag_links;
Eina_Bool login_shell;
+ Eina_Bool tytab;
Eina_Bool mouse_over_focus;
Eina_Bool disable_focus_visuals;
Eina_Bool colors_use;
diff --git a/src/bin/win.c b/src/bin/win.c
index 2d7465ad..97004dad 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -6660,6 +6660,10 @@ _cb_command(void *data,
}
else if (cmd[0] == 't') // tab/split escape commands
{
+ Config *config_tc = termio_config_get(term->termio);
+ if (!config_tc || !config_tc->tytab)
+ return;
+
if (cmd[1] == 'n') // name panel: tn;NAME
{
Term_Container *tc = term->container;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.