Instantly update pseudo-terminal size by client terminal size

This commit is contained in:
Sheng
2018-05-23 20:25:28 +08:00
parent 82929ea484
commit c439f2b6ee
3 changed files with 46 additions and 18 deletions
+1 -1
View File
@@ -136,5 +136,5 @@ class TestApp(AsyncHTTPTestCase):
ws = yield tornado.websocket.websocket_connect(ws_url)
msg = yield ws.read_message()
self.assertIn(b'Welcome!', msg)
yield ws.write_message('bye')
yield ws.write_message(json.dumps({'resize': [79, 23], 'data': 'bye'}))
ws.close()