aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2024-03-29 18:46:08 -0400
committerSimon Ser <contact@emersion.fr>2024-03-30 01:16:22 +0100
commitdcb142bf5e390250939544075b5852ca21eaf721 (patch)
treedeb6f015f3ab94a3c610e4dbaf75295aac15cdf0
parent9e1465107788af2c8ce93e2a288e9d32bc09711c (diff)
sway-ipc(7): Escape backslashes correctly in GET_CONFIG output
Without this change, i see the following in the sway-ipc manpage: ``` 9. GET_CONFIG MESSAGE Retrieve the contents of the config that was last loaded REPLY An object with a single string property containing the contents of the config Example Reply: { "config": "set $mod Mod4nbindsym $mod+q exitn" } ```
-rw-r--r--sway/sway-ipc.7.scd2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/sway-ipc.7.scd b/sway/sway-ipc.7.scd
index c9895e52..2f697248 100644
--- a/sway/sway-ipc.7.scd
+++ b/sway/sway-ipc.7.scd
@@ -1046,7 +1046,7 @@ An object with a single string property containing the contents of the config
*Example Reply:*
```
{
- "config": "set $mod Mod4\nbindsym $mod+q exit\n"
+ "config": "set $mod Mod4\\nbindsym $mod+q exit\\n"
}
```