I'd say this feature (i.e. setting the working directory of vte to the last used directory when Geany is re-launched) isn't worth adding this slightly ugly code. Unless people start complaining about this, I'd just leave this pull request open.
github-comments@lists.geany.org