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")
|
Command::new("notify-send")
|
||||||
.arg("-i")
|
.arg("-i")
|
||||||
.arg(icon_path)
|
.arg(icon_path)
|
||||||
|
.arg("--")
|
||||||
.arg(format!("{}:", nick))
|
.arg(format!("{}:", nick))
|
||||||
.arg(text)
|
.arg(text)
|
||||||
.spawn()?;
|
.spawn()?;
|
||||||
|
|
Loading…
Reference in a new issue