Skip to content

ConsoleReader::readLine() doesn't return null when end of stream is reached #9

@sunchao

Description

@sunchao

According to the doc, readLine should return null when EOF is reached. However in the case that terminal is not supported, it will return empty string instead. This seems like a bug.

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