summaryrefslogtreecommitdiff
path: root/src/libvterm/src/pen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libvterm/src/pen.c')
-rw-r--r--src/libvterm/src/pen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libvterm/src/pen.c b/src/libvterm/src/pen.c
index 38c7a6e08..ab2f7c1b5 100644
--- a/src/libvterm/src/pen.c
+++ b/src/libvterm/src/pen.c
@@ -507,6 +507,9 @@ int vterm_state_get_penattr(const VTermState *state, VTermAttr attr, VTermValue
case VTERM_ATTR_BACKGROUND:
val->color = state->pen.bg;
return 1;
+
+ case VTERM_N_ATTRS:
+ return 0;
}
return 0;