Get rid of BuiltIn Pane (for now) + style tweak
This commit is contained in:
parent
54f6e09511
commit
2b91514a8f
2 changed files with 1 additions and 2 deletions
|
|
@ -14,7 +14,6 @@ use crate::VteEvent;
|
|||
pub enum PaneId {
|
||||
Terminal(RawFd),
|
||||
Plugin(u32), // FIXME: Drop the trait object, make this a wrapper for the struct?
|
||||
BuiltIn(u32),
|
||||
}
|
||||
#[derive(Clone, Copy, Debug, Default)]
|
||||
pub struct PositionAndSize {
|
||||
|
|
|
|||
|
|
@ -297,6 +297,6 @@ impl PtyBus {
|
|||
}
|
||||
}
|
||||
pub fn close_tab(&mut self, ids: Vec<PaneId>) {
|
||||
ids.iter().for_each(|id| self.close_pane(*id));
|
||||
ids.iter().for_each(|&id| self.close_pane(id));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue