summaryrefslogtreecommitdiff
path: root/LICENSE-APACHE
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-06-29 10:21:02 -0700
committerJoe Wilm <joe@jwilm.com>2016-06-29 10:21:02 -0700
commit22789f35c7ab90a5ada70fdca25ca1c626eb1ca5 (patch)
tree4588f58a30b542a09fedc143f8ed710115440923 /LICENSE-APACHE
parent69ed81d2495c6eb548c44e73c0e9ed359d3820f0 (diff)
downloadalacritty-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