-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 229511bd240945bd1cce2110096bf8fb8a09672e: path_to: revision_to:
commit 229511bd240945bd1cce2110096bf8fb8a09672e Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com> Date: Mon Jan 9 15:34:57 2012 +0000 Add a flag to check if the terminal init is completed, rather than abusing env_colorfgbg. diff --git a/src/init.C b/src/init.C
--- a/src/init.C +++ b/src/init.C @@ -855,6 +855,7 @@ rxvt_term::init2 (int argc, const char *const *argv) #endif set_colorfgbg (); + init_done = 1; init_command (cmd_argv); diff --git a/src/rxvt.h b/src/rxvt.h
--- a/src/rxvt.h +++ b/src/rxvt.h @@ -1030,6 +1030,7 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen enc_utf8:1, /* whether locale uses utf-8 */ seen_input:1, /* whether we have seen some program output yet */ seen_resize:1, /* whether we had a resize event */ + init_done:1, parsed_geometry:1; unsigned char refresh_type, diff --git a/src/rxvtperl.xs b/src/rxvtperl.xs
--- a/src/rxvtperl.xs +++ b/src/rxvtperl.xs @@ -1545,7 +1545,7 @@ rxvt_term::option (U8 optval, int set = -1) { THIS->set_option (optval, set); - if (THIS->env_colorfgbg [0]) // avoid doing this before START + if (THIS->init_done) // avoid doing this before START switch (optval) { case Opt_skipBuiltinGlyphs:
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 09:15:43 2024