Skip to content

Commit

Permalink
[server-] add final newline after draw results
Browse files Browse the repository at this point in the history
  • Loading branch information
saulpw committed Nov 27, 2023
1 parent 1760f3a commit b9f6523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visidata/features/command_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def command_server(vd, conn):
line = line.decode().strip()
if line == 'draw':
r = '\n'.join(json.dumps(d) for d in vd.sheet.capture_draw_object())
conn.send(r.encode('utf-8'))
conn.send(r.encode('utf-8')+'\n')
elif line.startswith('{'):
cmd = json.loads(line)
vd.queueCommand(**cmd)
Expand Down

0 comments on commit b9f6523

Please # to comment.