summaryrefslogtreecommitdiff
path: root/src/dged/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dged/display.c')
-rw-r--r--src/dged/display.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dged/display.c b/src/dged/display.c
index e992cc9..ad9dad2 100644
--- a/src/dged/display.c
+++ b/src/dged/display.c
@@ -359,6 +359,13 @@ void command_list_set_inverted_colors(struct command_list *list) {
cmd->len = 1;
}
+void command_list_set_underline(struct command_list *list) {
+ struct push_fmt_cmd *cmd =
+ add_command(list, RenderCommand_PushFormat)->data.push_fmt;
+ cmd->fmt[0] = '4';
+ cmd->len = 1;
+}
+
void command_list_reset_color(struct command_list *list) {
add_command(list, RenderCommand_ClearFormat);
}