diff options
author | Joe Wilm <joe@jwilm.com> | 2016-12-22 13:43:06 -0500 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-12-22 13:44:13 -0500 |
commit | 6e708d2119ce0c839a89858a42a6b124a5cf48f4 (patch) | |
tree | a4ea2078153d136536587e04922f4ec841860298 /src/main.rs | |
parent | fd11660c0a714852a3f477a6730d49b9694e1345 (diff) | |
download | alacritty-6e708d2119ce0c839a89858a42a6b124a5cf48f4.tar.gz alacritty-6e708d2119ce0c839a89858a42a6b124a5cf48f4.zip |
Implement visual component of mouse selections
This adds the ability to click and drag with the mouse and have the
effect of visually selecting text. The ability to copy the selection
into a clipboard buffer is not yet implemented.
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 18a7e322..54f4abc8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -150,7 +150,7 @@ fn run(mut config: Config, options: cli::Options) -> Result<(), Box<Error>> { display.handle_resize(&mut terminal, &mut [&mut pty, &mut processor]); // Draw the current state of the terminal - display.draw(terminal, &config); + display.draw(terminal, &config, &processor.selection); } // Begin shutdown if the flag was raised. |