void-packages/srcpkgs/lilyterm/patches/no-empty-environment-variab...

22 lines
763 B
Diff

diff --git src/notebook.c src/notebook.c
index eb4d973..0789a33 100644
--- a/src/notebook.c
+++ b/src/notebook.c
@@ -158,13 +158,13 @@ struct Page *add_page(struct Window *win_data,
#ifdef ENABLE_SET_EMULATION
# ifdef SAFEMODE
if (win_data->emulate_term == NULL)
- g_string_append_printf (environ_str, "TERM=xterm");
+ g_string_append_printf (environ_str, "TERM=xterm\t");
else
# endif
- g_string_append_printf (environ_str, "TERM=%s", win_data->emulate_term);
+ g_string_append_printf (environ_str, "TERM=%s\t", win_data->emulate_term);
#endif
// set colorterm
- g_string_append_printf (environ_str, "\tCOLORTERM=lilyterm");
+ g_string_append_printf (environ_str, "COLORTERM=lilyterm");
// ---- Setting the VTE_CJK_WIDTH environment ---- //