summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/message.c b/src/message.c
index c9b6a2846..b9cc93fa1 100644
--- a/src/message.c
+++ b/src/message.c
@@ -2348,6 +2348,16 @@ msg_sb_start(mps)
}
/*
+ * Mark the last message chunk as finishing the line.
+ */
+ void
+msg_sb_eol()
+{
+ if (last_msgchunk != NULL)
+ last_msgchunk->sb_eol = TRUE;
+}
+
+/*
* Display a screen line from previously displayed text at row "row".
* Returns a pointer to the text for the next line (can be NULL).
*/