diff --git a/docs/rc_protocol.rst b/docs/rc_protocol.rst index 014298bfc..ea34df4fb 100644 --- a/docs/rc_protocol.rst +++ b/docs/rc_protocol.rst @@ -35,7 +35,7 @@ as:: Now, in a different terminal, you can get the pretty printed ``@ ls`` output with the following command line:: - echo -n '\x1bP@kitty-cmd{"cmd":"ls","version":[0,14,2]}\x1b\' | socat - unix:/tmp/test | awk '{ print substr($0, 13, length($0) - 14) }' | jq -c '.data | fromjson' | jq . + echo -en '\eP@kitty-cmd{"cmd":"ls","version":[0,14,2]}\e\' | socat - unix:/tmp/test | awk '{ print substr($0, 13, length($0) - 14) }' | jq -c '.data | fromjson' | jq . .. include:: generated/rc.rst