diff options
author | Oliver Kiddle <opk@zsh.org> | 2016-07-08 22:28:15 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2016-07-08 22:28:15 +0200 |
commit | e87aa8941fd7e13b039bf4d1664c6dc39a09313a (patch) | |
tree | 780ddf0747eb19a83830f84172008f46e1eee58d /Src/Zle/zle_refresh.c | |
parent | fc286168edac8c0b5fb9e8ec6226d4c77bcde79f (diff) | |
download | zsh-e87aa8941fd7e13b039bf4d1664c6dc39a09313a.tar.gz zsh-e87aa8941fd7e13b039bf4d1664c6dc39a09313a.tar.xz zsh-e87aa8941fd7e13b039bf4d1664c6dc39a09313a.zip |
38809: fix tracking of colour attributes and restore them when turning bold off
Diffstat (limited to 'Src/Zle/zle_refresh.c')
-rw-r--r-- | Src/Zle/zle_refresh.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index aca676a1c..e78f1e562 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -1143,8 +1143,7 @@ zrefresh(void) tsetcap(TCALLATTRSOFF, 0); tsetcap(TCSTANDOUTEND, 0); tsetcap(TCUNDERLINEEND, 0); - /* cheat on attribute unset */ - txtunset(TXTBOLDFACE|TXTSTANDOUT|TXTUNDERLINE); + txtattrmask = 0; if (trashedzle && !clearflag) reexpandprompt(); |