Skip to content

Thor::Shell::Basic.new.ask outputs duplicated lines #920

@daddygongon

Description

@daddygongon

The following code

question = "Q#{idx+1}: '#{ew[0]}' ? -> "
input = Thor::Shell::Basic.new.ask question

outputs duplicated lines with a long string:
Q1: '内省する/However, not all learners are equally able to --- and to report their t
Q1: '内省する/However, not all learners are equally able to --- and to report their t
houghts.' ? ->

How can I avoid it?

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