Skip to content

Commit a6a6a31

Browse files
authored
Merge pull request #2079 from onflow/cf/cutoff-fix
Fix cutoff placeholder on project name text input prompt
2 parents 8024a1d + f4a6247 commit a6a6a31

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

internal/prompt/textinput.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func newTextInput(customMsg, placeholder, defaultValue string, validate func(str
5050
ti.Placeholder = placeholder
5151
ti.Focus()
5252
ti.CharLimit = 256
53-
ti.Width = 30
53+
ti.Width = 50
5454

5555
// Style the text input with green cursor and text
5656
ti.TextStyle = branding.GreenStyle

internal/super/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ func startInteractiveInit(
220220
// Resolve target directory from arguments or user input
221221
var userInput string
222222
if len(args) < 1 {
223-
userInput, err = prompt.RunTextInput("Enter the name of your project (leave blank to use current directory)", "Type your project name here or press Enter for current directory...")
223+
userInput, err = prompt.RunTextInput("Enter the name of your project (leave blank to use current directory)", "Project name or Enter for current directory")
224224
if err != nil {
225225
return "", fmt.Errorf("error running project name: %v", err)
226226
}

0 commit comments

Comments
 (0)