summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c
index de79c8e81..6c77f4b0d 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3723,7 +3723,7 @@ vim_beep(
/* No restore color information, refresh the screen. */
if (has_vtp_working() != 0
# ifdef FEAT_TERMGUICOLORS
- && p_tgc
+ && (p_tgc || (!p_tgc && t_colors >= 256))
# endif
)
{