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 /screen.cpp | |
parent | c0655b6b08222a32b267cff4f7fbdf6d1472c910 (diff) |
Lots of work on web config
Change to make fish immediately show color changes
Diffstat (limited to 'screen.cpp')
-rw-r--r-- | screen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -344,7 +344,7 @@ static void s_check_status( screen_t *s) int prev_line = s->actual.cursor[1]; write_loop( 1, "\r", 1 ); - s_reset( s, 0 ); + s_reset( s, false ); s->actual.cursor[1] = prev_line; } } @@ -606,7 +606,7 @@ static void s_update( screen_t *scr, const wchar_t *prompt ) need_clear = 1; s_move( scr, &output, 0, 0 ); scr->actual_width = screen_width; - s_reset( scr, 0 ); + s_reset( scr, false ); } if( wcscmp( prompt, scr->actual_prompt.c_str() ) ) @@ -855,7 +855,7 @@ void s_write( screen_t *s, s_save_status( s ); } -void s_reset( screen_t *s, int reset_cursor ) +void s_reset( screen_t *s, bool reset_cursor ) { CHECK( s, ); |