Add context menu

This commit is contained in:
Jeremy Soller 2023-12-22 15:00:50 -07:00
parent 44a5d80740
commit 40c871bcf3
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
4 changed files with 170 additions and 25 deletions

View file

@ -102,6 +102,7 @@ pub struct Terminal {
pub term: Arc<FairMutex<Term<EventProxy>>>,
colors: Colors,
notifier: Notifier,
pub context_menu: Option<cosmic::iced::Point>,
}
impl Terminal {
@ -164,6 +165,7 @@ impl Terminal {
size,
term,
notifier,
context_menu: None,
}
}