ShellQuote is re-exported so callers don't need to import the chosen backend just to quote a value before handing it to SpawnTab. All backends quote identically (POSIX single-quote with embedded-quote escape), so we delegate to iterm's implementation.
(s string)
| 155 | // backends quote identically (POSIX single-quote with embedded-quote |
| 156 | // escape), so we delegate to iterm's implementation. |
| 157 | func ShellQuote(s string) string { |
| 158 | return iterm.ShellQuote(s) |
| 159 | } |