Get rid of BuiltIn Pane (for now) + style tweak

This commit is contained in:
Brooks J Rady 2021-01-07 13:05:42 +00:00
parent 54f6e09511
commit 2b91514a8f
2 changed files with 1 additions and 2 deletions

View file

@ -14,7 +14,6 @@ use crate::VteEvent;
pub enum PaneId { pub enum PaneId {
Terminal(RawFd), Terminal(RawFd),
Plugin(u32), // FIXME: Drop the trait object, make this a wrapper for the struct? Plugin(u32), // FIXME: Drop the trait object, make this a wrapper for the struct?
BuiltIn(u32),
} }
#[derive(Clone, Copy, Debug, Default)] #[derive(Clone, Copy, Debug, Default)]
pub struct PositionAndSize { pub struct PositionAndSize {

View file

@ -297,6 +297,6 @@ impl PtyBus {
} }
} }
pub fn close_tab(&mut self, ids: Vec<PaneId>) { 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));
} }
} }