Handle browse message
This commit is contained in:
parent
c9197a02ff
commit
9cf0089e48
1 changed files with 4 additions and 0 deletions
|
|
@ -197,6 +197,10 @@ async fn client_handle_messages<T: AsyncRead + Unpin>(
|
||||||
// TODO: Log
|
// TODO: Log
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Browse(url) => {
|
||||||
|
// TODO: Uh, security?
|
||||||
|
_ = open::that(url);
|
||||||
|
}
|
||||||
message => error!("Unsupported: {:?}", message),
|
message => error!("Unsupported: {:?}", message),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue