Escape a semicolon at the end of input

Avoid tmux treating it as a separator.