Skip to content

Commit

Permalink
Remake termux-clipboard paste, bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaBeloglazov committed Dec 13, 2023
1 parent da22063 commit d919d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clipman/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def call(method, text=None): # pylint: disable=R0911 # too-many-return-statement
# - = Android = - = - = - = - = - = - =
if dataclass.engine == "termux-clipboard":
if method == "set":
return run_command(['termux-clipboard-set', text])
return run_command_with_paste(['termux-clipboard-set'], text)
if method == "get":
return run_command(['termux-clipboard-get'])
# - = - = - = - = - = - = - = - = - = -
Expand Down

0 comments on commit d919d5a

Please sign in to comment.