]> git.rmz.io Git - dotfiles.git/commit
awesome/mpc: add support for binary responses
authorSamir Benmendil <me@rmz.io>
Mon, 10 Aug 2020 18:31:44 +0000 (19:31 +0100)
committerSamir Benmendil <me@rmz.io>
Mon, 10 Aug 2020 21:05:30 +0000 (22:05 +0100)
commitf2430c7c2d870fbdd8aa3b056a3acfcb09498b13
tree9ef74f4873d8c44bb44280f8bac8a54ac139b3a4
parent52e3816b6e8ce54561aa07ea03e9085cf859c93b
awesome/mpc: add support for binary responses

Had to move the recursive `do_read` call to after the parsing of the
message as in binary form we need to first read the binary data before
carrying on and reading the next line.
awesome/widgets/mpc.lua