summaryrefslogtreecommitdiff
path: root/ui/chat_window.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-12-24 00:36:06 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-12-24 00:36:06 +0100
commit6e2deea3d1b2fb4d79dac02a0d4310936c7f317c (patch)
tree05590a7d9f7cecde037aad7a5487ff2c62176932 /ui/chat_window.gd
parent7b3f386449aeab124d84d2aff4c273e646e68763 (diff)
next commit
Diffstat (limited to 'ui/chat_window.gd')
-rw-r--r--ui/chat_window.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/chat_window.gd b/ui/chat_window.gd
index d43791f..c88a3ee 100644
--- a/ui/chat_window.gd
+++ b/ui/chat_window.gd
@@ -35,6 +35,7 @@ func add_message(message: String, format: ChatMessageFormat):
func _on_line_edit_text_submitted(new_text: String) -> void:
%LineEdit.text = ""
+ %LineEdit.grab_focus()
var send_chat_message_packet := SendChatMessagePacket.new()
send_chat_message_packet.message = "%s : %s" % [Client.character.name, new_text]