From 8e653f430cad047c8a37718f1c25b5cd6136c5a4 Mon Sep 17 00:00:00 2001 From: joker-x Date: Wed, 16 Sep 2020 05:27:03 +0200 Subject: [PATCH] Allow write line break with SHIFT+ENTER --- app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index.js b/app/index.js index 20746fc..2355e8d 100644 --- a/app/index.js +++ b/app/index.js @@ -328,7 +328,7 @@ class GlobalBindings { }) this.submitOnEnter = function(data, e) { - if (e.which == 13) { + if (e.which == 13 && !e.shiftKey) { this.submitMessageBox(); return false; }