Skip to content

Commit

Permalink
correctly read from subprocesses
Browse files Browse the repository at this point in the history
  • Loading branch information
thanoulis committed Nov 16, 2020
1 parent 559a4c2 commit 9118247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tclip
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 9118247

Please sign in to comment.