mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 17:20:25 +02:00
20153: make zle-line-init run after the first zrefresh()
This commit is contained in:
parent
bedf58cfce
commit
0cfb07ee92
2 changed files with 9 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
|
2004-07-13 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
|
* 20153: Src/Zle/zle_main.c: make zle-line-init run after
|
||||||
|
the initial zrefresh() by moving the latter out of zlecore().
|
||||||
|
Needs an extra call in recursiveedit().
|
||||||
|
|
||||||
2004-07-12 Peter Stephenson <pws@csr.com>
|
2004-07-12 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
* unposted: NEWS: read it through and tidied it up.
|
* unposted: NEWS: read it through and tidied it up.
|
||||||
|
|
|
||||||
|
|
@ -680,8 +680,6 @@ zlecore(void)
|
||||||
FD_ZERO(&foofd);
|
FD_ZERO(&foofd);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
zrefresh();
|
|
||||||
|
|
||||||
while (!done && !errflag) {
|
while (!done && !errflag) {
|
||||||
|
|
||||||
statusline = NULL;
|
statusline = NULL;
|
||||||
|
|
@ -834,6 +832,8 @@ zleread(char **lp, char **rp, int flags, int context)
|
||||||
initmodifier(&zmod);
|
initmodifier(&zmod);
|
||||||
prefixflag = 0;
|
prefixflag = 0;
|
||||||
|
|
||||||
|
zrefresh();
|
||||||
|
|
||||||
if ((initthingy = rthingy_nocreate("zle-line-init"))) {
|
if ((initthingy = rthingy_nocreate("zle-line-init"))) {
|
||||||
char *args[2];
|
char *args[2];
|
||||||
args[0] = initthingy->nam;
|
args[0] = initthingy->nam;
|
||||||
|
|
@ -1303,6 +1303,7 @@ recursiveedit(UNUSED(char **args))
|
||||||
{
|
{
|
||||||
int locerror;
|
int locerror;
|
||||||
|
|
||||||
|
zrefresh();
|
||||||
zlecore();
|
zlecore();
|
||||||
|
|
||||||
locerror = errflag;
|
locerror = errflag;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue