Skip to content

Prompt always delayed with --noreadline --nomultiline #127

Closed
@dgutov

Description

@dgutov

Description

What are your expected behavior and actual behavior of your environment?

Launch irb --nomultiline --noreadline.

After sending some input, I can only see the prompt if I press RET again. Here's how the session looks:

$ irb --noreadline --nomultiline
irb(main):001:0> 3
=> 3
4
irb(main):002:0> => 4
5
irb(main):003:0> => 5
6
irb(main):004:0> => 6

irb(main):005:0> irb(main):006:0> 7
=> 7
8
irb(main):007:0> => 8
8 + 9
irb(main):008:0> => 17

irb(main):009:0> irb(main):010:0> 

See another example in the original report: nonsequitur/inf-ruby#137

Terminal Emulator

What's your terminal emulator?

gnome-terminator, gnome-terminal and Emacs' comint all exhibit the problem.

Setting Files

Are you using ~/.irbrc and ~/.inputrc?

No.

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