Currently Geany uses an option parsing library that does not support a single dash by itself and without the dash there is no way of differentiating between simply opening geany and reading the standard input.

If GOptionParser chokes on a single - (does it? I figured it would just pass it through), some code could be added to detect/remove - from argv before calling into the option parser, instead of dealing with it after the option parser.

Given the questions about windows @codebrainz raised this might only be a Linux feature

It wasn't questions as much as a note if someone's gonna implement this feature, I think Windows needs another special case in order to get stdio handles for this to work.


Reply to this email directly or view it on GitHub.