diff options
author | Joe Wilm <joe@jwilm.com> | 2017-06-15 21:43:28 -0700 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-06-19 21:31:50 -0700 |
commit | 63bcb4601198790ccdb96ffec4a360ce3080e685 (patch) | |
tree | c2fb6452215559082df60a46c40473bbd5353c9c /src/main.rs | |
parent | 3dfac443c7779646c96cadb06913518c458b0eb8 (diff) | |
download | alacritty-63bcb4601198790ccdb96ffec4a360ce3080e685.tar.gz alacritty-63bcb4601198790ccdb96ffec4a360ce3080e685.zip |
Implement semantic and line selection dragging
Unlike the regular selection that is by cell, these selection modes
highlight either semantic groupings or entire lines while the mouse is
dragged.
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 f4ee72b6..9db5ce58 100644 --- a/src/main.rs +++ b/src/main.rs @@ -179,7 +179,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, &processor.selection); + display.draw(terminal, &config, processor.selection.as_ref()); } // Begin shutdown if the flag was raised. |