Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor lib/open to accept user provided arguments | Reto Brunner | 2021-01-30 | 1 | -21/+0 |
| | | | | | | | | | | | | * Get rid of open_darwin It just lead to code duplication for a simple one string change. Instead we query it during initialization * Accept user provided arguments "open" on MacOS accepts things like -A to use a specific application Pass trough arguments the user provided in order to facilitate this * Refactor the function to a struct This makes it more convenient for the caller and avoids signatures like lib.OpenFile(nil, u.String(), nil) which are fairly unreadable | ||||
* | Allow open to be asynchronous | Andrew Jeffery | 2020-07-08 | 1 | -2/+13 |
| | | | | | | This stops the ui being blocked while the resource is opened. The wait ensures that resources are reclaimed when the process finishes while aerc is still running. | ||||
* | Use "open" instead of "xdg-open" on Darwin systems | Ben Burwell | 2019-07-04 | 1 | -0/+10 |