Update libcosmic
This commit is contained in:
parent
d4f1e1cd12
commit
09d4ca9f6a
3 changed files with 158 additions and 149 deletions
|
|
@ -507,15 +507,12 @@ impl Terminal {
|
|||
let start = Point::new(Line(-(grid.history_size() as i32)), Column(0));
|
||||
let mut end_line = grid.bottommost_line();
|
||||
while end_line.0 > 0 {
|
||||
if ! grid[end_line].is_clear() {
|
||||
if !grid[end_line].is_clear() {
|
||||
break;
|
||||
}
|
||||
end_line.0 -= 1;
|
||||
}
|
||||
let end = Point::new(
|
||||
end_line,
|
||||
Column(grid.columns() - 1),
|
||||
);
|
||||
let end = Point::new(end_line, 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