diff options
Diffstat (limited to 'test/fs.py')
| -rw-r--r-- | test/fs.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -556,6 +556,12 @@ def cut_writes(binary): client.write(f'/pane/{serial}/ctl', block) body = client.read(f'/pane/{serial}/body').decode().splitlines() assert body == ['line %05d of the block' % i for i in range(2500)], (len(body), body[:2]) + # A detached session with no frontend is 80x24 until told. + screen = client.screen() + assert (screen['cols'], screen['rows']) == (80, 24), (screen['cols'], screen['rows']) + client.write('/ctl', b'size 132 50\n') + screen = client.screen() + assert (screen['cols'], screen['rows']) == (132, 50), (screen['cols'], screen['rows']) def test(binary, quic=False): |
