mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-02 07:01:28 +03:00
remove cli frontend in favour of cli subcommand (#278)
this removes the cli frontend entirely, replacing it with a subcommand instead
This commit is contained in:
committed by
GitHub
parent
7898f2362c
commit
2f6a3629ad
@@ -199,6 +199,13 @@ impl ClientManager {
|
||||
}
|
||||
}
|
||||
|
||||
/// update the enter hook command of the client
|
||||
pub(crate) fn set_enter_hook(&self, handle: ClientHandle, enter_hook: Option<String>) {
|
||||
if let Some((c, _s)) = self.clients.borrow_mut().get_mut(handle as usize) {
|
||||
c.cmd = enter_hook;
|
||||
}
|
||||
}
|
||||
|
||||
/// set resolving status of the client
|
||||
pub(crate) fn set_resolving(&self, handle: ClientHandle, status: bool) {
|
||||
if let Some((_, s)) = self.clients.borrow_mut().get_mut(handle as usize) {
|
||||
|
||||
Reference in New Issue
Block a user