From 8133805dec137d08a5b81e766e131373a1e66d96 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Fri, 13 Jul 2018 15:59:04 +0300 Subject: [PATCH] Allow shift+enter to insert new lines --- client/components/ChatInput.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/ChatInput.vue b/client/components/ChatInput.vue index 2c5cd524..0cf2c308 100644 --- a/client/components/ChatInput.vue +++ b/client/components/ChatInput.vue @@ -13,7 +13,7 @@ :aria-label="getInputPlaceholder(channel)" :disabled="!$root.connected" class="mousetrap" - @keypress.enter.prevent="onSubmit" + @keypress.enter.exact.prevent="onSubmit" />