about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2023-01-10 21:06:55 +0100
committerOliver Kiddle <opk@zsh.org>2023-01-10 21:06:55 +0100
commitcc672f1c3bfa9cdf4bbf100d85439340a479cb6b (patch)
tree1dd3d3c01c49c388c7ce02a8cc1abd43ab368bbd /Src/Zle
parent9d99a01367e85dc3d9cd8e711d78dc1cec6f018b (diff)
downloadzsh-cc672f1c3bfa9cdf4bbf100d85439340a479cb6b.tar.gz
zsh-cc672f1c3bfa9cdf4bbf100d85439340a479cb6b.tar.xz
zsh-cc672f1c3bfa9cdf4bbf100d85439340a479cb6b.zip
51289: don't disable non-colour attributes in prompts for SINGLE_LINE_ZLE and remove superfluous extra escapes to disable attributes
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_refresh.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c
index ab84a1376..8949a851c 100644
--- a/Src/Zle/zle_refresh.c
+++ b/Src/Zle/zle_refresh.c
@@ -1107,8 +1107,6 @@ zrefresh(void)
 #endif
 	/* we probably should only have explicitly set attributes */
 	tsetcap(TCALLATTRSOFF, 0);
-	tsetcap(TCSTANDOUTEND, 0);
-	tsetcap(TCUNDERLINEEND, 0);
 	txtcurrentattrs = txtpendingattrs = txtunknownattrs = 0;
 
 	if (trashedzle && !clearflag)