feat: replace prompt with inform (fire-and-forget), logs default 20 lines
This commit is contained in:
parent
d2f77f8054
commit
af0b6b5ddb
5 changed files with 51 additions and 13 deletions
|
|
@ -58,6 +58,12 @@ pub enum ServerMessage {
|
|||
message: String,
|
||||
title: Option<String>,
|
||||
},
|
||||
/// Show a non-blocking notification to the user (fire-and-forget)
|
||||
InformRequest {
|
||||
request_id: Uuid,
|
||||
message: String,
|
||||
title: Option<String>,
|
||||
},
|
||||
/// Execute a shell command on the client
|
||||
ExecRequest {
|
||||
request_id: Uuid,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue