hstr icon indicating copy to clipboard operation
hstr copied to clipboard

hstr --is-tiocsti

Open leapfog opened this issue 1 year ago • 0 comments

I read src/hstr_utils.c as if there shouldn't be a space character written, but sometimes there is:

$ for i in {0..999}; do hstr --is-tiocsti; done | tr -cd 'y'

sample output:

  yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy    yyyyyyyyy
yyyyyyyyyyyyyyyyyy  yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

And while src/include/hstr_utils.h says (in its comments), hstr --is-tiocsti would also reflect the availability in its exit code, the exit code always is 0.

leapfog avatar Apr 20 '23 15:04 leapfog