This was test code and shouldn't have been committed
This commit is contained in:
parent
b38c7cb943
commit
3148825680
@ -74,14 +74,6 @@ impl RealmAction {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// XXX
|
|
||||||
pub fn stop_events() -> EventResult {
|
|
||||||
Self::action(|r| {
|
|
||||||
let manager = r.manager();
|
|
||||||
manager.stop_event_task();
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn open_terminal() -> EventResult {
|
pub fn open_terminal() -> EventResult {
|
||||||
let title = "Open Terminal?";
|
let title = "Open Terminal?";
|
||||||
let msg = "Open terminal in realm '$REALM'?";
|
let msg = "Open terminal in realm '$REALM'?";
|
||||||
|
@ -119,7 +119,6 @@ impl ItemListContent<Realm> for RealmListContent {
|
|||||||
Event::Char('$') => RealmAction::open_shell(false),
|
Event::Char('$') => RealmAction::open_shell(false),
|
||||||
Event::Char('#') => RealmAction::open_shell(true),
|
Event::Char('#') => RealmAction::open_shell(true),
|
||||||
Event::Char('u') => RealmAction::update_realmfs(),
|
Event::Char('u') => RealmAction::update_realmfs(),
|
||||||
Event::Char('x') => RealmAction::stop_events(),
|
|
||||||
Event::Char('.') => {
|
Event::Char('.') => {
|
||||||
self.show_system_realms = !self.show_system_realms;
|
self.show_system_realms = !self.show_system_realms;
|
||||||
EventResult::with_cb(|s| ItemList::<Realm>::call_reload("realms", s))
|
EventResult::with_cb(|s| ItemList::<Realm>::call_reload("realms", s))
|
||||||
|
Loading…
Reference in New Issue
Block a user