1
0
Fork 0
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:
Peter Stephenson 2013-08-08 19:48:11 +01:00
parent 180c4c049c
commit 0b185e3dcd
4 changed files with 25 additions and 1 deletions

View file

@ -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);