summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--resources/qml/TimelineView.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index c29eb537..53b1951c 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -27,7 +27,9 @@ Item {
     Keys.onPressed: event => {
         if (event.text && event.key !== Qt.Key_Enter && event.key !== Qt.Key_Return && !topBar.searchHasFocus) {
             TimelineManager.focusMessageInput();
-            room.input.setText(room.input.text + event.text);
+            if (event.modifiers != Qt.ControlModifier) {
+                room.input.setText(room.input.text + event.text);
+            }
         }
     }
     onRoomChanged: if (room != null)