Skip to content

Duplicate prompt line  #129

Open
Open
@ebrownewell

Description

@ebrownewell

Using the latest version of promptui (v0.6.0) and Go v1.13.4 on windows 10 I see constant duplicating prompt lines when running a very simple prompt:

image

and it does the same with or without the mask, and in any terminal I can get my hands on (wsl, powershell, etc).

Here's the code I'm using:

prompt := promptui.Prompt{
  Label:     "Password",
  Mask:      '*',
}
result, err := prompt.Run()

if err != nil {
  log.WithError(err).Error("Error getting password prompt information. ")
  return
}

log.Info("Result: " + result)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions