Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt Error when using email in formatting #464

Closed
jcubic opened this issue Feb 7, 2019 · 1 comment
Closed

Prompt Error when using email in formatting #464

jcubic opened this issue Feb 7, 2019 · 1 comment
Labels
Bug resolved if issue is resolved, it will be open until merge with master

Comments

@jcubic
Copy link
Owner

jcubic commented Feb 7, 2019

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', '[email protected]'),
                ':',
                path,
                '$ '
            ].join(''));
        }

[email protected] as green is displayed blue (email) when you press enter (echo command function).

@jcubic jcubic added the Bug label Feb 7, 2019
@jcubic jcubic added the resolved if issue is resolved, it will be open until merge with master label Feb 7, 2019
jcubic added a commit that referenced this issue Feb 7, 2019
@jcubic
Copy link
Owner Author

jcubic commented Feb 17, 2019

In version 2.2.0

@jcubic jcubic closed this as completed Feb 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug resolved if issue is resolved, it will be open until merge with master
Projects
None yet
Development

No branches or pull requests

1 participant