From 0b185e3dcd7348045787b972a80d62da4ca0c79f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 8 Aug 2013 19:48:11 +0100 Subject: users/17908: Keep history line in sync between ZLE and shell. Update ZLE version if history is read, pushed or popped with ZLE active --- Src/Zle/zle_main.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Src/Zle') diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c index a1d54dd2b..756ff111a 100644 --- a/Src/Zle/zle_main.c +++ b/Src/Zle/zle_main.c @@ -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); -- cgit v1.2.3