We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9a50f5 commit d8a76afCopy full SHA for d8a76af
interpreter/core/computer/clipboard/clipboard.py
@@ -1,4 +1,4 @@
1
-import os
+import platform
2
from ...utils.lazy_import import lazy_import
3
4
# Lazy import of optional packages
@@ -8,7 +8,7 @@ class Clipboard:
8
def __init__(self, computer):
9
self.computer = computer
10
11
- if os.name == "nt":
+ if platform.system() == "Windows" or platform.system() == "Linux":
12
self.modifier_key = "ctrl"
13
else:
14
self.modifier_key = "command"
0 commit comments