diff --git a/app/src/main/java/de/kuschku/quasseldroid/ui/chat/input/Editor.kt b/app/src/main/java/de/kuschku/quasseldroid/ui/chat/input/Editor.kt
index 40034a1b2fef3d7d06602180a3ffd3373127ccf0..74b281b494ae585d656354cd3538a928d42a733c 100644
--- a/app/src/main/java/de/kuschku/quasseldroid/ui/chat/input/Editor.kt
+++ b/app/src/main/java/de/kuschku/quasseldroid/ui/chat/input/Editor.kt
@@ -317,7 +317,7 @@ class Editor(
     TooltipCompat.setTooltipText(clearButton, clearButton.contentDescription)
 
     chatline.setOnKeyListener { _, keyCode, event ->
-      if (event.isCtrlPressed && !event.isAltPressed) when (keyCode) {
+      if (event.isCtrlPressed && !event.isAltPressed && event.action == KeyEvent.ACTION_DOWN) when (keyCode) {
         KeyEvent.KEYCODE_B -> {
           formatHandler.toggleBold(chatline.selection)
           updateButtons(chatline.selection)
@@ -496,4 +496,4 @@ class Editor(
     get() = formatHandler.rawText
   val strippedText: CharSequence
     get() = formatHandler.strippedText
-}
\ No newline at end of file
+}