[input] Terminate i3 protocol header with newline
According to https://i3wm.org/docs/i3bar-protocol.html, the header block needs to be terminated by a newline. fixes #76
This commit is contained in:
parent
fc516102b8
commit
02f3559734
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class I3BarOutput(object):
|
|||
def start(self):
|
||||
"""Print start preamble for i3bar protocol"""
|
||||
self._started = True
|
||||
sys.stdout.write(json.dumps({"version": 1, "click_events": True}) + "[\n")
|
||||
sys.stdout.write(json.dumps({"version": 1, "click_events": True}) + "\n[\n")
|
||||
|
||||
def stop(self):
|
||||
"""Finish i3bar protocol"""
|
||||
|
|
Loading…
Reference in a new issue