summary refs log tree commit diff stats
path: root/src/message_system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/message_system.cpp')
-rw-r--r--src/message_system.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/message_system.cpp b/src/message_system.cpp index 15d9847..a200abc 100644 --- a/src/message_system.cpp +++ b/src/message_system.cpp
@@ -170,6 +170,10 @@ void MessageSystem::displayMessage(std::string_view msg, std::string speakerName
170 } 170 }
171 } 171 }
172 172
173 if (lines_.empty() || lines_.back() != "\f") {
174 lines_.push_back("\f");
175 }
176
173 if (linesToShow_.empty()) { 177 if (linesToShow_.empty()) {
174 linesToShow_.push_back(MessageLine { .text = lines_.front() }); 178 linesToShow_.push_back(MessageLine { .text = lines_.front() });
175 lines_.pop_front(); 179 lines_.pop_front();