From b31ff67a17328589fab6ee1d491368df01edeae8 Mon Sep 17 00:00:00 2001 From: dffdff2423 Date: Tue, 17 Dec 2024 12:14:17 -0600 Subject: [PATCH] Pressing enter to send a message WHY WAS THIS NOT A THING --- .../_CD/CartridgeLoader/Cartridges/NanoChatUiFragment.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Client/_CD/CartridgeLoader/Cartridges/NanoChatUiFragment.xaml.cs b/Content.Client/_CD/CartridgeLoader/Cartridges/NanoChatUiFragment.xaml.cs index ff056549e6..5ccd108e08 100644 --- a/Content.Client/_CD/CartridgeLoader/Cartridges/NanoChatUiFragment.xaml.cs +++ b/Content.Client/_CD/CartridgeLoader/Cartridges/NanoChatUiFragment.xaml.cs @@ -75,6 +75,7 @@ private void SetupEventHandlers() } }; + MessageInput.OnTextEntered += _ => SendMessage(); SendButton.OnPressed += _ => SendMessage(); DeleteChatButton.OnPressed += _ => DeleteCurrentChat(); }