Require drag'n'drop
With many other terminal emulators, I can drag a file from my file manager into the terminal instead of typing the whole filename. However, this feature is not available in LilyTerm.
I hope that this can be implemented.
I think this depends on GTK right? When you drag a widget into another widget, events get triggered.
I am not sure which drag and drop event it was, I remember I used to play with ruby-gnome bindings and got it to work ~4 years ago. There is possibly a simplified API for doing so, as I am sure this is extensively used in Gnome.
hmm... I'll think about it. Thanks for this idea!
Comment: File names should be correctly escaped. And I suggest a useful and strong escaping rule.
The rule is (the following rule is how gnome-terminal does):
- Replace
'(apostrophe or called single-quote) with'\''. - If there are two (or more)
''s, replace them with'\'\''instead (or more). - Wrap the whole string with a leading
'and a following'and a following space. (The extra space is useful so that the user can immediately continue typing.)