mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-13 13:41:01 +02:00
32450: make get-line widget set the history number that was saved with the line
This commit is contained in:
parent
97115e0e7f
commit
f62bd9c06c
2 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
2014-03-03 Oliver Kiddle <opk@zsh.org>
|
2014-03-03 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* 32450: Src/Zle/zle_hist.c: make get-line set the history
|
||||||
|
number that was saved with the line
|
||||||
|
|
||||||
* 32448: Src/Zle/zle_params.c: fix seg fault after recursive-edit
|
* 32448: Src/Zle/zle_params.c: fix seg fault after recursive-edit
|
||||||
|
|
||||||
* 32439 (with Yuri D'Elia): Completion/Base/Core/_main_complete:
|
* 32439 (with Yuri D'Elia): Completion/Base/Core/_main_complete:
|
||||||
|
|
|
@ -890,6 +890,10 @@ zgetline(UNUSED(char **args))
|
||||||
free(s);
|
free(s);
|
||||||
free(lineadd);
|
free(lineadd);
|
||||||
clearlist = 1;
|
clearlist = 1;
|
||||||
|
if (stackhist != -1) {
|
||||||
|
histline = stackhist;
|
||||||
|
stackhist = -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue