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

Print foreground color for indicator and right prompt in large buffers #728

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

ysthakur
Copy link
Member

Fixes #727

Previously, when printing large buffers, the foreground color for the prompt indicator and right prompt wasn't printed.

Below is the original behavior. You can see that with a small buffer that doesn't fill up the whole screen, the menu indicator (|) is blue and the right prompt is purple, as expected. But with a large buffer, both become green.

asciicast

Below is the new behavior. The menu marker and right prompt are the expected colors even with a large buffer.

asciicast

@fdncred
Copy link
Collaborator

fdncred commented Jan 28, 2024

great work! and that was really quick. thanks!

@fdncred fdncred merged commit a8e494f into nushell:main Jan 28, 2024
6 checks passed
@ysthakur ysthakur deleted the fix-727 branch January 28, 2024 00:37
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.

list menu marker changing color
2 participants