p-e-w / finalterm

At last – a modern terminal emulator (NO LONGER MAINTAINED)
http://finalterm.org
GNU General Public License v3.0
3.84k stars 179 forks source link

Fix escaping of single quotes in file menu #334

Closed jcrumb closed 9 years ago

jcrumb commented 9 years ago

Fixes #266 by adding a function to utilities that will replace all occurences of a single quote with '\'' except for the first and last ones. This function is then called before setting/running the shell command from the semantic menu.

p-e-w commented 9 years ago

Thank you for your work. This definitely fixes the problem, but I decided to merge another PR instead which solves the same issue and is slightly simpler and cleaner IMO.

Therefore, I am closing this pull request.