tea/modules/task
plgruener 3129e60a73 text editor selection: follow unix defacto standards (#356)
Currently, `tea` only supports the $EDITOR env var to open the user's preferred editor (used for reviewing pull requests).

Standard \*nix practice is, however, to check for $VISUAL first and only then use $EDITOR as fallback.
This is also done by Git itself, see man git-var(1).
(Actually, the order there is $GIT_EDITOR > core.editor > $VISUAL > $EDITOR > vi)

Co-authored-by: plgruener <pl.gruener@gmail.com>
Reviewed-on: https://gitea.com/gitea/tea/pulls/356
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: plgruener <plgruener@noreply.gitea.io>
Co-committed-by: plgruener <plgruener@noreply.gitea.io>
2021-06-21 20:08:27 +08:00
..
issue_create.go Add more issue / pr creation params (#331) 2021-03-08 19:48:03 +08:00
labels.go Add more issue / pr creation params (#331) 2021-03-08 19:48:03 +08:00
labels_export.go Refactor error handling (#308) 2020-12-17 00:18:10 +08:00
login_create.go Refactor error handling (#308) 2020-12-17 00:18:10 +08:00
login_ssh.go [Refactor] unexport config.Config var & move login tasks to task module (#288) 2020-12-12 21:28:37 +08:00
milestone_create.go Add interactive mode for `tea milestone create` (#310) 2020-12-18 02:50:07 +08:00
pull_checkout.go Allow checking out PRs with deleted head branch (#341) 2021-03-12 02:16:02 +08:00
pull_clean.go Introduce workaround for missing pull head sha (#340) 2021-03-08 03:45:50 +08:00
pull_create.go Add more issue / pr creation params (#331) 2021-03-08 19:48:03 +08:00
pull_review.go text editor selection: follow unix defacto standards (#356) 2021-06-21 20:08:27 +08:00