mirror of
https://github.com/danog/termux-api-package.git
synced 2024-11-26 12:24:51 +01:00
Merge pull request #64 from monking/clipboard-without-newline
Avoid adding trailing newline to copied text
This commit is contained in:
commit
56bf789bec
@ -21,6 +21,6 @@ CMD="/data/data/com.termux/files/usr/libexec/termux-api Clipboard -e api_version
|
||||
if [ $# = 0 ]; then
|
||||
$CMD
|
||||
else
|
||||
echo $@ | $CMD
|
||||
echo -n "$@" | $CMD
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user