]> granicus.if.org Git - procps-ng/commit
watch: add -r to not rexec on terminal resize
authorCraig Small <csmall@dropbear.xyz>
Tue, 17 Jan 2023 09:45:48 +0000 (20:45 +1100)
committerCraig Small <csmall@dropbear.xyz>
Tue, 17 Jan 2023 09:45:48 +0000 (20:45 +1100)
commitb2bfd76b06efc8c8b2a9d4b2d7d20c19b50a6fb4
tree2c8551b0e8251d30cf08432a31ffab0a2ffeddba
parent5f4074a250a58ca53da42faf485072730d2fe9cf
watch: add -r to not rexec on terminal resize

If you have the watched program doing some other thing every time its
run and you resize the window, you might get unexpected results. The
-r option lets you run only when the interval has expired.

References:
 procps-ng/procps!125
 procps-ng/procps#190
NEWS
man/watch.1
src/watch.c