diff options
author | Joe Wilm <joe@jwilm.com> | 2018-03-05 09:57:34 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2018-06-02 09:34:28 -0700 |
commit | 8ef062efd94975885776e61b6df936088b018da0 (patch) | |
tree | 34567e47784b1d2b0bc82fffac952a18ad4c6c1e /src/main.rs | |
parent | ef3c384540b31004a423ada778ed5c02d90e68c6 (diff) | |
download | alacritty-8ef062efd94975885776e61b6df936088b018da0.tar.gz alacritty-8ef062efd94975885776e61b6df936088b018da0.zip |
Move selection into Grid
Supporting selections with scrollback has two major components:
1. Grid needs access to Selection so that it may update the scroll
position as the terminal text changes.
2. Selection needs to be implemented in terms of buffer offsets -- NOT
lines -- and be updated when Storage is rotated.
This commit implements the first part.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index c45dfda5..77cb4949 100644 --- a/src/main.rs +++ b/src/main.rs @@ -201,7 +201,7 @@ fn run(mut config: Config, options: &cli::Options) -> Result<(), Box<Error>> { display.handle_resize(&mut terminal, &config, &mut [&mut pty, &mut processor]); // Draw the current state of the terminal - display.draw(terminal, &config, processor.selection.as_ref()); + display.draw(terminal, &config); } // Begin shutdown if the flag was raised. |