diff options
author | Joe Wilm <joe@jwilm.com> | 2016-06-29 10:21:02 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-06-29 10:21:02 -0700 |
commit | 22789f35c7ab90a5ada70fdca25ca1c626eb1ca5 (patch) | |
tree | 4588f58a30b542a09fedc143f8ed710115440923 /LICENSE-APACHE | |
parent | 69ed81d2495c6eb548c44e73c0e9ed359d3820f0 (diff) | |
download | alacritty-22789f35c7ab90a5ada70fdca25ca1c626eb1ca5.tar.gz alacritty-22789f35c7ab90a5ada70fdca25ca1c626eb1ca5.zip |
Implement terminal resizing
The resize event is received from glutin on the update thread, but the
renderer needs to be informed as well for updating the viewport and
projection matrix. This is achieved with an mpsc::channel.
To support resizing, the grid now offers methods for growing and
shrinking, and there are several implementations available for
clear_region based on different Range* types.
Core resize logic is all in Term::resize. It attempts to keep as much
context as possible when shinking the window. When growing, it's
basically just adding rows.
Diffstat (limited to 'LICENSE-APACHE')
0 files changed, 0 insertions, 0 deletions