From d919d5a187a369ff320d5b20b53d1b14f7856241 Mon Sep 17 00:00:00 2001 From: Nikita Beloglazov <77229847+NikitaBeloglazov@users.noreply.github.com> Date: Wed, 13 Dec 2023 02:43:20 +0200 Subject: [PATCH] Remake termux-clipboard paste, bug fix --- src/clipman/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clipman/__init__.py b/src/clipman/__init__.py index f60c4a5..b20ba06 100644 --- a/src/clipman/__init__.py +++ b/src/clipman/__init__.py @@ -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']) # - = - = - = - = - = - = - = - = - = -