mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-28 17:10:59 +01:00
users/17908: Keep history line in sync between ZLE and shell.
Update ZLE version if history is read, pushed or popped with ZLE active
This commit is contained in:
parent
180c4c049c
commit
0b185e3dcd
4 changed files with 25 additions and 1 deletions
|
|
@ -1934,6 +1934,13 @@ zle_main_entry(int cmd, va_list ap)
|
|||
break;
|
||||
}
|
||||
|
||||
case ZLE_CMD_SET_HIST_LINE:
|
||||
{
|
||||
histline = va_arg(ap, zlong);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
#ifdef DEBUG
|
||||
dputs("Bad command %d in zle_main_entry", cmd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue