Download raw body.
responsive watch wip
On Sun, Jun 15, 2025 at 11:01:26AM +0200, Florian Obser wrote: > On 2025-06-14 13:50 -04, "Ted Unangst" <tedu@tedunangst.com> wrote: > > I think I've figured out most of the interactions. Pause, update, etc. > > > > Also should support unicode now. > > This is not working correctly. > > consider this file: > $ cat test.txt > line 1 > > line 2 > > line 3 > > And then run obj/watch cat test.txt > > you get > > line 1 > > scroll down once, you get an empty screen, scroll down once more you get > > line 2 > > ... and so on. > There seems to be some confusing about empty lines. It seems that in child_input() on the "if (wc == '\n')" path before the 'continue' statement adding something like "(*buf)[l][c] = wc;" helps a bit. But 'watch traceroute www.ripe.net' still is slightly strange: starting on the second invocation the 'traceroute to' header line appears. Kind regards, Job
responsive watch wip