Skip to content

Prompt Error when using email in formatting #464

@jcubic

Description

@jcubic

Expected behavior

Email inside formatting is green

Actual behavior

it display blue duplicated email and formatting is broken.

jqterm

Steps to reproduce

use this prompt

        prompt: function(cb) {
            var path = color('blue', cwd);
            cb([
                color('green', 'user@example.com'),
                ':',
                path,
                '$ '
            ].join(''));
        }

user@example.com as green is displayed blue (email) when you press enter (echo command function).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugresolvedif issue is resolved, it will be open until merge with master

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions