Skip to content

gum input doubles prompt outputΒ #895

@amancevice

Description

@amancevice

Describe the bug
Since v0.15+, gum input doubles the prompt when executed

To Reproduce
Steps to reproduce the behavior:

cat <<-DOCKERFILE | docker build --tag gum - && docker run --rm -it gum input
FROM alpine
WORKDIR /gum
ADD https://github.com/charmbracelet/gum/releases/download/v0.16.0/gum_0.16.0_aarch64.apk .
RUN apk add --allow-untrusted gum_0.16.0_aarch64.apk
ENTRYPOINT ["gum"]
DOCKERFILE

Expected behavior
The prompt should only appear once, as it does in gum v0.14.x

Screenshots
Image

Desktop (please complete the following information):

  • OS: macOS / alpine linux
  • Browser N/A
  • Version v0.16.0

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