Allow editing multiline prompts with external text editor #429
Labels
No Label
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind
enhancement
kind
feature
kind/proposal
kind
question
kind
refactor
kind/security
kind/testing
kind/translation
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/has-backport
status/has-pull
status/needs-backport
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/sdk
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#429
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "noerw/tea:preferences-editor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Preferences
struct to the config, initially only containingEditor: bool (default false)
.This struct will be serialized to configs once there is a first tea induced change to the config (eg
tea login default <name>
ortea login add
).We already had a function for starting a texteditor for diff reviews; it does not really make sense to replace it with
survey.Editor
, as there is a big interface mismatch: survey expects strings as inputs, while our diff functions operate on files,fixes #424