Closed sternenseemann closed 3 years ago
This has been added in #11. It is not yet documented in the manpage though. Done simply via wtype -
.
Oh thanks, missed that!
When I execute echo "hello" | wtype -
, I expect hello
to be typed and be equivalent to wtype hello
. Instead, using stdin
results in an extra RETURN
key to be used after the input ends, equivalent to wtype hello -P RETURN
. Is this intended?
Edit: Nevermind, some commands introduce new lines at the end. Disabling the newline (e.g. echo -n "hello"
) fixes this.
This would be useful for using
wtype
for things likepassmenu
where you would automatically fake type in a stored password viawtype
instead of copying it to the clipboard.Currently it'd need to be passed via argv which means leaking it to the process list.