We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d98837 commit eccc4e3Copy full SHA for eccc4e3
1 file changed
cmds/fastcommit/cmd.go
@@ -174,10 +174,15 @@ func New(version string) func(params Params) *Command {
174
msg := resp.Choices[0].Message.Content
175
msg = tap.Text(ctx, tap.TextOptions{
176
Message: "git message(update or enter) >> ",
177
+ InitialValue: msg,
178
DefaultValue: msg,
- Placeholder: "Type something...",
179
+ Placeholder: "update or enter",
180
})
181
182
+ if msg == "" {
183
+ return
184
+ }
185
+
186
//var p1 = tea.NewProgram(initialTextInputModel(msg))
187
//mm := assert.Must1(p1.Run()).(model2)
188
//if mm.isExit() {
0 commit comments