This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository terminology.
View the commit online.
commit d9af05794d39b853677f94daf28d15b813b419f5
Author: Boris Faure <bill...@gmail.com>
AuthorDate: Thu Aug 17 12:32:33 2023 +0200
config: add selection_escapes
---
src/bin/config.c | 13 +++++++++++--
src/bin/config.h | 1 +
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/bin/config.c b/src/bin/config.c
index f1330ab..959d595 100644
--- a/src/bin/config.c
+++ b/src/bin/config.c
@@ -7,7 +7,7 @@
#include "colors.h"
#include "theme.h"
-#define CONF_VER 26
+#define CONF_VER 27
#define CONFIG_KEY "config"
#define LIM(v, min, max) {if (v >= max) v = max; else if (v <= min) v = min;}
@@ -189,6 +189,8 @@ config_init(void)
(edd_base, Config, "mv_always_show", mv_always_show, EET_T_UCHAR);
EET_DATA_DESCRIPTOR_ADD_BASIC
(edd_base, Config, "ty_escapes", ty_escapes, EET_T_UCHAR);
+ EET_DATA_DESCRIPTOR_ADD_BASIC
+ (edd_base, Config, "selection_escapes", selection_escapes, EET_T_UCHAR);
EET_DATA_DESCRIPTOR_ADD_BASIC
(edd_base, Config, "changedir_to_current", changedir_to_current, EET_T_UCHAR);
EET_DATA_DESCRIPTOR_ADD_BASIC
@@ -320,6 +322,7 @@ config_sync(const Config *config_src, Config *config)
config->show_tabs = config_src->show_tabs;
config->mv_always_show = config_src->mv_always_show;
config->ty_escapes = config_src->ty_escapes;
+ config->selection_escapes = config_src->selection_escapes;
config->changedir_to_current = config_src->changedir_to_current;
config->emoji_dbl_width = config_src->emoji_dbl_width;
config->translucent = config_src->translucent;
@@ -585,6 +588,7 @@ config_new(void)
config->show_tabs = EINA_TRUE;
config->mv_always_show = EINA_FALSE;
config->ty_escapes = EINA_TRUE;
+ config->selection_escapes = EINA_TRUE;
config->changedir_to_current = EINA_TRUE;
config->emoji_dbl_width = EINA_FALSE;
for (j = 0; j < 4; j++)
@@ -776,7 +780,11 @@ config_load(void)
config_compute_color_scheme(config);
EINA_FALLTHROUGH;
/*pass through*/
- case CONF_VER: /* 26 */
+ case 26:
+ config->selection_escapes = EINA_TRUE;
+ EINA_FALLTHROUGH;
+ /*pass through*/
+ case CONF_VER: /* 27 */
config->version = CONF_VER;
break;
default:
@@ -880,6 +888,7 @@ config_fork(const Config *config)
CPY(show_tabs);
CPY(mv_always_show);
CPY(ty_escapes);
+ CPY(selection_escapes);
CPY(changedir_to_current);
CPY(emoji_dbl_width);
CPY(group_all);
diff --git a/src/bin/config.h b/src/bin/config.h
index e8a2c32..a3218d6 100644
--- a/src/bin/config.h
+++ b/src/bin/config.h
@@ -100,6 +100,7 @@ struct tag_Config
Eina_Bool show_tabs;
Eina_Bool mv_always_show;
Eina_Bool ty_escapes;
+ Eina_Bool selection_escapes;
Eina_Bool changedir_to_current;
Eina_Bool emoji_dbl_width;
Eina_Bool group_all;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.