Skip to content

feat!: change early-exit to allow individual triggers#385

Open
RobertMueller2 wants to merge 1 commit intoSatty-org:mainfrom
RobertMueller2:early-exit-copy
Open

feat!: change early-exit to allow individual triggers#385
RobertMueller2 wants to merge 1 commit intoSatty-org:mainfrom
RobertMueller2:early-exit-copy

Conversation

@RobertMueller2
Copy link
Copy Markdown
Member

@RobertMueller2 RobertMueller2 commented Jan 5, 2026

Closes: #152

This allows the following configs

early-exit = true
early-exit = [ "all" ]
early-exit = [ "copy", "save", "save-as" ]

as well as command line

--early-exit
--early-exit=all
--early-exit=copy,save,save-as

@gabm
Copy link
Copy Markdown
Member

gabm commented Mar 16, 2026

My mind model here was:

  • we have early exit (press escape/enter to close)
  • we have actions on exit, that could include save, copy etc.. that would allow for "save, save as and copy" in sequence

Would the solution not be to just ensure that all actions are properly run before exiting and therefore only keeping one single "early exit flag"?

@RobertMueller2 RobertMueller2 marked this pull request as draft March 16, 2026 07:33
@RobertMueller2 RobertMueller2 marked this pull request as draft March 16, 2026 07:33
Closes: Satty-org#152

This allows the following configs

early-exit = true

early-exit = [ "all" ]
early-exit = [ "copy", "save", "save-as" ]

as well as command line
--early-exit
--early-exit=all
--early-exit=copy,save,save-as
@RobertMueller2 RobertMueller2 changed the title feat!: introduce early-exit-copy flag feat!: change early-exit to allow individual triggers Mar 16, 2026
@RobertMueller2 RobertMueller2 marked this pull request as ready for review March 16, 2026 14:35
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.

Early Exit only on enter action

2 participants