Skip to content

TERM=null should be unsupported? #9

@DomBlack

Description

@DomBlack

In isUnsupportedTerm I suggest changing it to:

if (term == NULL) return true;

This is mainly because CLion's integrated console does not set TERM and does not work with line noise or cpp-linenoise. Instead of getting the prompt we the following noise, plus the enter key is not picked up - so readline never exits;

screen shot 2017-03-28 at 14 56 07

By making this small change, the CLion console works:

screen shot 2017-03-28 at 14 58 36

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions