diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-25 03:00:38 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-25 16:00:17 -0700 |
commit | 0c9a1a56c22de9a34d678898168a30aeda86b1a3 (patch) | |
tree | 193666081f64ea1b9f9beb68f05bf1eb9097881d /env.cpp | |
parent | c0655b6b08222a32b267cff4f7fbdf6d1472c910 (diff) |
Lots of work on web config
Change to make fish immediately show color changes
Diffstat (limited to 'env.cpp')
-rw-r--r-- | env.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -341,7 +341,9 @@ static void react_to_variable_change(const wcstring &key) { handle_locale(); } else if (key == L"fish_term256") { update_fish_term256(); - reader_repaint_needed(); + reader_react_to_color_change(); + } else if (string_prefixes_string(L"fish_color_", key)) { + reader_react_to_color_change(); } } @@ -355,11 +357,6 @@ static void universal_callback( int type, { const wchar_t *str=0; - if( var_is_locale( name ) ) - { - handle_locale(); - } - switch( type ) { case SET: @@ -388,6 +385,9 @@ static void universal_callback( int type, event_fire( &ev ); ev.arguments.reset(NULL); } + + if (name) + react_to_variable_change(name); } /** |