diff options
author | 2024-03-29 18:46:08 -0400 | |
---|---|---|
committer | 2024-03-30 01:16:22 +0100 | |
commit | dcb142bf5e390250939544075b5852ca21eaf721 (patch) | |
tree | deb6f015f3ab94a3c610e4dbaf75295aac15cdf0 | |
parent | input: pass wlr_seat_client to wlr_seat_touch_notify_cancel() (diff) | |
download | sway-dcb142bf5e390250939544075b5852ca21eaf721.tar.gz sway-dcb142bf5e390250939544075b5852ca21eaf721.tar.zst sway-dcb142bf5e390250939544075b5852ca21eaf721.zip |
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.scd | 2 |
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 | |||
1046 | *Example Reply:* | 1046 | *Example Reply:* |
1047 | ``` | 1047 | ``` |
1048 | { | 1048 | { |
1049 | "config": "set $mod Mod4\nbindsym $mod+q exit\n" | 1049 | "config": "set $mod Mod4\\nbindsym $mod+q exit\\n" |
1050 | } | 1050 | } |
1051 | ``` | 1051 | ``` |
1052 | 1052 | ||