Open
Description
Traceback (most recent call last):
File "/home/jonathan/git/pymux/pymux/main.py", line 538, in run_server
PipeInput(), DummyCallbacks())
File "/home/jonathan/git/python-prompt-toolkit/prompt_toolkit/eventloop/posix.py", line 164, in run
t()
File "/home/jonathan/git/pymux/pymux/server.py", line 70, in _recv
self._process(self._recv_buffer[:pos])
File "/home/jonathan/git/pymux/pymux/server.py", line 91, in _process
self._inputstream.feed(packet['data'])
File "/home/jonathan/git/python-prompt-toolkit/prompt_toolkit/terminal/vt100_input.py", line 398, in feed
self._input_parser.send(c)
File "/home/jonathan/git/python-prompt-toolkit/prompt_toolkit/terminal/vt100_input.py", line 307, in _input_parser_generator
self._call_handler(match, prefix)
File "/home/jonathan/git/python-prompt-toolkit/prompt_toolkit/terminal/vt100_input.py", line 340, in _call_handler
self.feed_key_callback(KeyPress(key, insert_text))
File "/home/jonathan/git/pymux/pymux/server.py", line 36, in feed_key
self.cli.input_processor.process_keys()
File "/home/jonathan/git/python-prompt-toolkit/prompt_toolkit/key_binding/input_processor.py", line 219, in process_keys
self._process_coroutine.send(key_press)
File "/home/jonathan/git/python-prompt-toolkit/prompt_toolkit/key_binding/input_processor.py", line 176, in _process
self._call_handler(matches[-1], key_sequence=buffer)
File "/home/jonathan/git/python-prompt-toolkit/prompt_toolkit/key_binding/input_processor.py", line 247, in _call_handler
handler.call(event)
File "/home/jonathan/git/python-prompt-toolkit/prompt_toolkit/key_binding/registry.py", line 61, in call
return self.handler(event)
File "/home/jonathan/git/pymux/pymux/key_bindings.py", line 134, in _
p.process.write_key(event.key_sequence[0].key)
File "/home/jonathan/git/pymux/pymux/process.py", line 257, in write_key
self.write_input(data)
File "/home/jonathan/git/pymux/pymux/process.py", line 238, in write_input
self.write_bytes(data.encode('utf-8'))
AttributeError: 'Key' object has no attribute 'encode'