summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-28 21:59:23 -0500
committerJune McEnroe <june@causal.agency>2022-01-21 22:05:00 -0500
commita557a1895fa56e9f1a48c518734d1c75e71e0fd5 (patch)
treeb4187a7fb73027638baa62b07e03f1429dd22606 /src
parentdash: Fix multi-line prompts when right prompts are used (diff)
downloaddash-a557a1895fa56e9f1a48c518734d1c75e71e0fd5.tar.gz
dash-a557a1895fa56e9f1a48c518734d1c75e71e0fd5.zip
dash: Set H_SETUNIQUE
Diffstat (limited to '')
-rw-r--r--src/histedit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/histedit.c b/src/histedit.c
index 5816331..1b7ad23 100644
--- a/src/histedit.c
+++ b/src/histedit.c
@@ -169,6 +169,7 @@ sethistsize(const char *hs)
 		   (histsize = atoi(hs)) < 0)
 			histsize = 100;
 		history(hist, &he, H_SETSIZE, histsize);
+		history(hist, &he, H_SETUNIQUE, 1);
 	}
 }