I've been working on the status line formats recently. These variables, in the C code are nicely indented. Is there some way to deal with format variables in a friendly way in the config file and in the shell passing as an arg to `tmux set`?
I didn't see any way to pretty-print a format variable so I wrote something in C. It could be added as an option to `show-option`, but it would be useful if the output of such a formatted variable was able to be directly read back in. I did not find any easy, friendly way. I was wondering other people do. Like modifying a popup menu is really tedious all in one single line.
If there is truly no way at this moment, what about making an option to `show-option` which pretty prints with leading tabs and newlines, and an option to `set-option` which ignores leading tabs and trailing newlines? Would this be useful? I will happily drop this in a PR.
Michael Grant