Bugfix: render bars after the first chunk of JSON (Thanks javier)

fixes #1315
next
Michael Stapelberg 2014-07-11 00:32:42 +02:00
parent 04d292375d
commit 686a40e384
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ void stdin_io_first_line_cb(struct ev_loop *loop, ev_io *watcher, int revents) {
if (config.hide_on_modifier) {
stop_child();
}
read_json_input(buffer + consumed, rec - consumed);
draw_bars(read_json_input(buffer + consumed, rec - consumed));
} else {
/* In case of plaintext, we just add a single block and change its
* full_text pointer later. */