From 911824750847991b45a5b5ca3df94ef071085a4b Mon Sep 17 00:00:00 2001 From: Thanos Zygouris Date: Mon, 16 Nov 2020 18:28:56 +0200 Subject: [PATCH] correctly read from subprocesses --- tclip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tclip b/tclip index d15fe79..cb311ab 100755 --- a/tclip +++ b/tclip @@ -225,7 +225,7 @@ wm protocol . WM_DELETE_WINDOW {.menu.clipboard invoke "Exit"} # COMMAND LINE # if {$::argc > 0} { - addToClipboard .text [join $::argv] + addToClipboard .text [join $::argv "\n"] } # get input from OS pipe (stdout) chan event stdin readable {getPipedData}