Skip to content

Commit 1d9be47

Browse files
NautiluXschrodit
andauthored
Update pkg/out/out.go
Co-authored-by: Tim Schrodi <tim@schrodi.cc>
1 parent 9c8be4e commit 1d9be47

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/out/out.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ func (p *Prompt) InputPrompt(prompt string) string {
5959

6060
input = strings.TrimSpace(input)
6161
if input != "" {
62-
break
62+
return input
6363
}
6464
}
65-
return input
6665
}

0 commit comments

Comments
 (0)