Subject: | make context determining handle CLI when IO is not interactive |
… $lh->maketext("foo [output,url,google] bar") …
debug(): foo google bar
… $lh->maketext("foo [output,url,google] bar") … |head
foo <a href="google">google</a> bar
That is because the pipe makes the IO non-interactive so we need an additional check:
context is text if the IO is interactive or ???