Update libcosmic
This commit is contained in:
parent
d4f1e1cd12
commit
09d4ca9f6a
3 changed files with 158 additions and 149 deletions
|
|
@ -637,7 +637,7 @@ impl App {
|
|||
let mut sections = Vec::with_capacity(3 + self.color_scheme_errors.len());
|
||||
|
||||
sections.push(
|
||||
widget::view_switcher::horizontal(&self.color_scheme_tab_model)
|
||||
widget::tab_bar::horizontal(&self.color_scheme_tab_model)
|
||||
.on_activate(Message::ColorSchemeTabActivate)
|
||||
.into(),
|
||||
);
|
||||
|
|
@ -2303,7 +2303,7 @@ impl Application for App {
|
|||
if tab_model.iter().count() > 1 {
|
||||
tab_column = tab_column.push(
|
||||
widget::container(
|
||||
widget::view_switcher::horizontal(tab_model)
|
||||
widget::tab_bar::horizontal(tab_model)
|
||||
.button_height(32)
|
||||
.button_spacing(space_xxs)
|
||||
.on_activate(Message::TabActivate)
|
||||
|
|
|
|||
|
|
@ -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