From a6bcf811f1a0bce26b696aeeccf02badb31d0af2 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Sun, 18 Oct 2020 16:34:41 +0200 Subject: [PATCH] Added missing render call --- source/Channel.d | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/Channel.d b/source/Channel.d index 1806744..b6d6bcb 100644 --- a/source/Channel.d +++ b/source/Channel.d @@ -112,12 +112,15 @@ public final class Channel string message = textInput.getBuffer().getText(); /* TODO: Add the message to our log (as it won't be delivered to us) */ + addMessage(message); /* Send the message */ client.sendMessage(0, channelName, message); /* Clear the text box */ textInput.getBuffer().setText(""); + + box.showAll(); } public Box getBox() @@ -191,6 +194,6 @@ public final class Channel public void addMessage(string s) { - + textArea.add(new Label(s)); } } \ No newline at end of file