Escape "--" in notifications
This commit is contained in:
parent
11696fcd46
commit
588f9083b3
|
@ -6,6 +6,7 @@ fn send_notification(icon_path: &str, nick: &str, text: &str) -> PyResult<()> {
|
|||
Command::new("notify-send")
|
||||
.arg("-i")
|
||||
.arg(icon_path)
|
||||
.arg("--")
|
||||
.arg(format!("{}:", nick))
|
||||
.arg(text)
|
||||
.spawn()?;
|
||||
|
|
Loading…
Reference in a new issue