Closed jeremija closed 9 years ago
header_sent
is set to TRUE
if header
is NULL
so it should work… I tested both i3bar
and flat
output.
Which plugins are you using and could you gdb
or g_debug
to check the header_sent
value?
I can see that _j4status_io_stream_put_line
is called, but header_sent
is set to FALSE
every time. I just ran j4status
from console with:
J4STATUS_PLUGINS_DIR="$PWD/.libs" ./j4status -i time -o flat
The only function which sets the header_sent
is _j4status_io_stream_put_header
, but it is never called.
Fixed in 659c14e8d5fc11283c8073bea67f1bcfa483932d.
I just forgot to call _j4status_io_stream_put_header
for stdout…
Great, thanks!
The output stopped working completely for me ever since the @750482d commit. I tried it on Arch Linux using glib 2.44.1 and Debian Jessie with glib 2.42.1.
I believe this line is to blame.