summaryrefslogtreecommitdiff
path: root/kvmd/keyboard
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/keyboard')
-rw-r--r--kvmd/keyboard/printer.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/kvmd/keyboard/printer.py b/kvmd/keyboard/printer.py
index 7261a8ef..a2003a18 100644
--- a/kvmd/keyboard/printer.py
+++ b/kvmd/keyboard/printer.py
@@ -50,6 +50,10 @@ def text_to_web_keys( # pylint: disable=too-many-branches
ch = "'"
elif ch in ["„", "“", "”"]:
ch = "\""
+ elif ch == "–": # Short
+ ch = "-"
+ elif ch == "—": # Long
+ ch = "--"
if not ch.isprintable():
continue
try: