diff options
Diffstat (limited to 'src/client/chat.cc')
-rw-r--r-- | src/client/chat.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/chat.cc b/src/client/chat.cc index f123bbc..1983415 100644 --- a/src/client/chat.cc +++ b/src/client/chat.cc @@ -43,6 +43,13 @@ Chat::~Chat() history.clear(); } +void Chat::clear() +{ + chat_log.clear(); + chat_input->clear(); +} + + void Chat::set_small_view(bool small_chat_view) { chat_small = small_chat_view; |