diff options
author | axel <axel@liljencrantz.se> | 2005-10-14 00:08:33 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-10-14 00:08:33 +1000 |
commit | 0385fbe2be6d1fb03c6fdbc7ca2efb6fe2ff7ce6 (patch) | |
tree | e20858422bfd27f0b1eaed2cdbe3a6aa62b095f1 /fish_pager.c | |
parent | 7e3f9c222c3c1a45abf7a89d619aa2b487a65c1e (diff) |
Optimize interactive input reader by allowing multiple input characters between redraws
darcs-hash:20051013140833-ac50b-f652fada56ca7359246b03a4bdf2116fb8c52435.gz
Diffstat (limited to 'fish_pager.c')
-rw-r--r-- | fish_pager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fish_pager.c b/fish_pager.c index 50074dfa..e4674438 100644 --- a/fish_pager.c +++ b/fish_pager.c @@ -38,8 +38,6 @@ #include "input_common.h" #include "env_universal.h" -#define WCHAR_END 0x80000000 - enum { LINE_UP = R_NULL+1, @@ -857,6 +855,7 @@ static void init() out_file = fdopen( out, "w" ); sb_init( &out_buff ); + output_init(); env_universal_init( 0, 0, 0, 0); input_common_init( &interrupt_handler ); @@ -928,6 +927,7 @@ void destroy() { env_universal_destroy(); input_common_destroy(); + output_destroy(); del_curterm( cur_term ); sb_destroy( &out_buff ); fclose( out_file ); |