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

feature single line prompt #265

Merged
merged 49 commits into from
Jan 7, 2021
Merged

Conversation

edouard-lopez
Copy link
Member

@edouard-lopez edouard-lopez commented Dec 28, 2020

fixes #65

Option Default Description
pure_enable_single_line_prompt false true: Compact prompt as a single line

Preview

feature-pure_enable_single_line_prompt

@edouard-lopez
Copy link
Member Author

edouard-lopez commented Dec 30, 2020

@jorgebucaran could you have a look at the tests, I can't figure out why they are failing?

Behaviour is hectic, I try to purge variables before each test, but doesn't seem to work. I might be missing something, so another opinion will help ✌️

@jorgebucaran
Copy link
Contributor

@edouard-lopez I'm currently rewriting Fishtape, so maybe after that! 👍

@edouard-lopez
Copy link
Member Author

edouard-lopez commented Jan 7, 2021

I'm having pretty weird behaviour with fishtape+pure+githubCI: @msg do not show up

It works locally, I'm wondering if colouring is a problem here as I call them like

@mesg (_print_filename $current_filename)

with _print_filename defined like:

function _print_filename --argument-names filename
    echo (set_color cyan)$filename(set_color normal)
end

@jorgebucaran
Copy link
Contributor

TAP is a text-only format, so you shouldn't use color.

@edouard-lopez edouard-lopez merged commit 307fe3e into master Jan 7, 2021
@edouard-lopez edouard-lopez deleted the feature-single-line-prompt branch February 17, 2021 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to make prompt 1 line
3 participants