Improve look of context menu checkbox
This commit is contained in:
parent
898e3add26
commit
ccd507594b
3 changed files with 10 additions and 11 deletions
|
|
@ -290,7 +290,10 @@ impl Terminal {
|
|||
let mut term = self.term.lock();
|
||||
let grid = term.grid();
|
||||
let start = Point::new(Line(-(grid.history_size() as i32)), Column(0));
|
||||
let end = Point::new(Line(grid.screen_lines() as i32 - 1), Column(grid.columns() - 1));
|
||||
let end = Point::new(
|
||||
Line(grid.screen_lines() as i32 - 1),
|
||||
Column(grid.columns() - 1),
|
||||
);
|
||||
let mut selection = Selection::new(SelectionType::Lines, start, Side::Left);
|
||||
selection.update(end, Side::Right);
|
||||
term.selection = Some(selection);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue