You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there seems to be a problem with colons in pane commands. See the following example yaml-session-file. Escaping with backslash (\) has no effect. Using single ticks (') instead of double ticks (") has no effect.
I'm using tmuxp 1.9.3 on Ubuntu 18.04, installed via pip.
session_name: buggy_session
windows:
- window_name: bug_window
panes:
# the following works
- echo "a bug with colon:"
# the following gives no output
- echo "a bug with colon: a"
# the following results in no start of session and in error: yaml.scanner.ScannerError: while scanning a quoted scalar
#- echo "a bug with colon: "
Maybe I missed a documentation somewhere, which says how to deal with colons in commands. Otherwise (if I did not and if it is not really a bug) a documentation would be great.
Kind regards,
abelbabel
The text was updated successfully, but these errors were encountered:
is considered a dictionary with key echo "a bug with colon" and value a". If you need to enforce parsing it as string, you have to enclose the full line in single quotes:
- 'echo "a bug with colon: a"'
PS: Also take note of the different highlighting of this message.
Hi,
there seems to be a problem with colons in pane commands. See the following example yaml-session-file. Escaping with backslash (\) has no effect. Using single ticks (') instead of double ticks (") has no effect.
I'm using tmuxp 1.9.3 on Ubuntu 18.04, installed via pip.
Maybe I missed a documentation somewhere, which says how to deal with colons in commands. Otherwise (if I did not and if it is not really a bug) a documentation would be great.
Kind regards,
abelbabel
The text was updated successfully, but these errors were encountered: