mirror of
https://github.com/zsh-users/zsh
synced 2024-09-29 04:35:22 +00:00
21577 (adapted): Dan Bullok: improved window resize handling, again
This commit is contained in:
parent
e8cb997013
commit
aa638fec26
|
@ -1,3 +1,9 @@
|
|||
2005-08-09 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 21577 (adapted): Dan Bullok: Src/Zle/zle_main.c, Src/init.c,
|
||||
Src/utils.c: improved 21567 which reexpands the prompt and
|
||||
refreshes but doesn't trash the line editor.
|
||||
|
||||
2005-08-08 Wayne Davison <wayned@users.sourceforge.net>
|
||||
|
||||
* 21580: Thorsten Dahlheimer: Test/C03traps.ztst: disable any
|
||||
|
|
|
@ -1150,6 +1150,8 @@ noop_function_int(UNUSED(int nothing))
|
|||
/**/
|
||||
mod_export ZleVoidFn trashzleptr = noop_function;
|
||||
/**/
|
||||
mod_export ZleVoidFn zle_resetpromptptr = noop_function;
|
||||
/**/
|
||||
mod_export ZleVoidFn zrefreshptr = noop_function;
|
||||
/**/
|
||||
mod_export ZleVoidIntFn zleaddtolineptr = noop_function_int;
|
||||
|
@ -1163,6 +1165,7 @@ mod_export ZleVoidIntFn zlesetkeymapptr = noop_function_int;
|
|||
#else /* !LINKED_XMOD_zshQszle */
|
||||
|
||||
mod_export ZleVoidFn trashzleptr = noop_function;
|
||||
mod_export ZleVoidFn zle_resetpromptptr = noop_function;
|
||||
mod_export ZleVoidFn zrefreshptr = noop_function;
|
||||
mod_export ZleVoidIntFn zleaddtolineptr = noop_function_int;
|
||||
mod_export ZleGetLineFn zlegetlineptr = NULL;
|
||||
|
|
|
@ -1064,7 +1064,8 @@ adjustwinsize(int from)
|
|||
winchanged =
|
||||
#endif /* TIOCGWINSZ */
|
||||
resetneeded = 1;
|
||||
trashzleptr();
|
||||
zrefreshptr();
|
||||
zle_resetpromptptr();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue