about summary refs log tree commit diff
path: root/Src/hist.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/hist.c')
-rw-r--r--Src/hist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/hist.c b/Src/hist.c
index d77b2febd..e104e1f3e 100644
--- a/Src/hist.c
+++ b/Src/hist.c
@@ -735,6 +735,8 @@ hend(void)
     int flag, save = 1;
 
     DPUTS(!chline, "BUG: chline is NULL in hend()");
+    if (histdone & HISTFLAG_SETTY)
+	settyinfo(&shttyinfo);
     if (histactive & (HA_NOSTORE|HA_NOINC)) {
 	zfree(chline, hlinesz);
 	zfree(chwords, chwordlen*sizeof(short));