Skip to content

Commit

Permalink
fix: create flag prompt should be on the same line as text (#135)
Browse files Browse the repository at this point in the history
* create flag prompt should be on the same line as text

* shorten prompt
  • Loading branch information
k3llymariee authored Apr 5, 2024
1 parent 5f5479e commit 52aa92b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/quickstart/create_flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func NewCreateFlagModel(client flags.Client, accessToken, baseUri string) tea.Mo
ti.Focus()
ti.CharLimit = 156
ti.Width = 20
ti.Prompt = ""

return createFlagModel{
accessToken: accessToken,
Expand Down Expand Up @@ -68,8 +69,7 @@ func (m createFlagModel) View() string {
MarginLeft(2)

return fmt.Sprintf(
"Name your first feature flag (enter for default value %q):\n\n%s",
defaultFlagName,
"Name your first feature flag (enter for default value):%s",
style.Render(m.textInput.View()),
) + "\n"
}

0 comments on commit 52aa92b

Please sign in to comment.