Commit Briefs
web: detect EOF
after the ev/bufio update amused-web could spin since it didn't detect the EOF.
bring in newer ev and bufio from telescope
merge our local changes to bufio though.
rename ibuf arguments to imsgbuf
ibuf is just too confusing since there is also the 'struct ibuf'.
honour TMPDIR
This makes using amused a bit nicer on termux where /tmp/ can't be written (or doesn't even exists.) amused still uses /tmp/ if TMPDIR is not specified.
amused-web: parse POST data in bufio' rbuf
Add a proper upper limit (4096 seems enough for now) and safely NUL-terminate the rbuf. The idea is to later drop the clt->buf static buffer and allocate it on demand only when we need to do (http) chunking.
amused-web: make the filtering work
Generate the HTML for the filter input in js (it's useless to have it there otherwise) and actually filter the entries. It's a basic case insensitive match, but it's a start. To do so, add dispatch event type X: to mark the end of the playlist so js can replay the filtering.