Skip to content

New args_from_cmd and executable_path_from_cmd config keys#176

Open
rakivo wants to merge 3 commits intonakst:masterfrom
rakivo:master
Open

New args_from_cmd and executable_path_from_cmd config keys#176
rakivo wants to merge 3 commits intonakst:masterfrom
rakivo:master

Conversation

@rakivo
Copy link
Copy Markdown

@rakivo rakivo commented Aug 21, 2024

I've been using nakst/gf for quite some time already, and I've noticed, that having the args_from_cmd and executable_path_from_cmd keys would be pretty convenient. Whenever I open gf I constantly have to copy my paths and flags and paste them into the UI text fields. However, now, executable path and command-line arguments will be set automatically, if they are passed, of course.

The implementation is just for a proof of concept, if nakst will support the idea, I can provide a proper solution.

rakivo added 3 commits August 21, 2024 23:19
…g new `args_from_cmd` and `executable_path_from_cmd` config keys. Also did some work in the `int GfMain(int argc, char **argv)`, basically, just handling those keys.
…ine `1815` to prevent integer overflow, just to be safe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant