aboutsummaryrefslogtreecommitdiffstats
path: root/termcast.py
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-17 12:18:25 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-17 12:18:25 -0400
commit92ba955c9cb5836c21d15537f9cccc91a999bc53 (patch)
tree06d543f0b46b6c96dbf15cb44e041049497a44bf /termcast.py
parentf625d280190fadc57feea6933b65076cc7ef9745 (diff)
downloadpython-termcast-server-92ba955c9cb5836c21d15537f9cccc91a999bc53.tar.gz
python-termcast-server-92ba955c9cb5836c21d15537f9cccc91a999bc53.zip
enforce terminal size better when watching
set the scroll region to the size of the terminal you're watching when you first start watching a stream. this typically happens automatically when watching someone who opens and closes something like vim (since resetting the scroll region means explicitly setting the scroll region to the size of the whole terminal, which will be the size of the watching terminal in this case), but this helps for when a stream first starts broadcasting. also be sure to reset it when you stop watching.
Diffstat (limited to 'termcast.py')
0 files changed, 0 insertions, 0 deletions