--- a/hglib.lua Thu Sep 08 13:42:51 2016 +0800
+++ b/hglib.lua Thu Sep 08 14:39:52 2016 +0800
self.wh:write('getencoding\n')
- local channel, message = read_channel(self.rh)
- elseif channel == 'e' then
+ local channel, message = read_channel(self.rh)
+ elseif channel == 'e' or channel:lower() ~= channel then