Skip to content

reline handles ^C differently than readline #56

Closed

Description

@hanazuki

When user types ^C (ctrl-c) during Readline.readline, SIGINT is sent to the program, which in turn converted to an Interrupt exception. Reline.readline, however, returns a String with "\x03".

By bisecting I suppose this behaviour change was introduced in 8670d33 (#54)

Steps to reproduce:

  1. Start bundle exec bin/example.
  2. Type ^C.
  3. Expect the program to halt.

Activity

  1. aycabta commented on Sep 12, 2019

    @aycabta
    Member

    Thank you for your reporting. I'm always troubled by the behavior but I forgot to fix it because I'm always troubled by other insanely many bugs. It's about time I'll fix it preferentially. Please wait a little longer.

  2. aycabta commented on Sep 13, 2019

    @aycabta
    Member

    This is fixed by 900951a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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