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

Brighter console prompt > #3970

Closed
rjake opened this issue Jul 11, 2024 · 12 comments
Closed

Brighter console prompt > #3970

rjake opened this issue Jul 11, 2024 · 12 comments
Assignees
Labels
area: console Issues related to Console category. bug Something isn't working support

Comments

@rjake
Copy link

rjake commented Jul 11, 2024

In all of the dark theme options, the prompt is very hard to see. Is there a way to make the > line brighter? I looked through the console. setting options and haven't found anything that updates this. I know the 🟥 indicates that my code is still running but I'm so used to looking for the > to reappear.

image

@rjake rjake added the enhancement New feature or request label Jul 11, 2024
@LGraz
Copy link

LGraz commented Jul 11, 2024

In vscode/terminal I have a visible pink prompt via the .Rprofile:
options(prompt = "\001\033[0;35m\002>\001\033[0m\002 ")

maybe this helps :)

@rjake
Copy link
Author

rjake commented Jul 11, 2024

@LGraz nice suggestion. This works in the terminal but not in the console unfortunately

Terminal:
image

Console:
image

@juliasilge
Copy link
Contributor

Can you tell me specifically tell me which theme you are using? And are you saying the active prompt is always dim, even when the console is idle? Or only while code is executing?

@rmflight
Copy link

I'm using Positron Dark. And the active prompt is dim when nothing is being typed. I agree, it's hard to tell that the console is ready to use again.

In this image, where I wrote some code, the prompt is bright, and was bright as I was typing. But then when it's "waiting" again, it's dim, and almost impossible to see.

image

@juliasilge
Copy link
Contributor

OK, turns out this a Linux-only problem with the console!

image

Thanks so much to both of you for the report.

@juliasilge juliasilge added bug Something isn't working os-linux area: console Issues related to Console category. support and removed enhancement New feature or request labels Jul 15, 2024
@rjake
Copy link
Author

rjake commented Jul 15, 2024

@juliasilge I'm using Windows 10 and seeing this behavior. Am I misunderstanding your note about Linux-only?

@juliasilge
Copy link
Contributor

Oh hmmmm, nope, you do not misunderstand. We were only able to reproduce it on Linux internally. I'll remove the Linux tag and we'll see how things turn out as we solve the problem.

@juliasilge juliasilge added this to the Release Candidate milestone Jul 15, 2024
@JeffreyRStevens
Copy link

I've noticed this issue in all 10 of the dark themes that I've tried (in Ubuntu). I'm messing around with some theming for other colors. Can the console prompt color be controlled in a theme? If so, what is the theme component to control it?

@juliasilge
Copy link
Contributor

I don't think so, unfortunately @JeffreyRStevens. I don't think there is a workaround and we just need to fix this bug. 😬

@JeffreyRStevens
Copy link

OK, thanks, @juliasilge!

@juliasilge
Copy link
Contributor

juliasilge commented Aug 22, 2024

Reported again at #4443 but on Windows

@testlabauto
Copy link
Contributor

Verified Fixed

Positron Version(s) : 2024.09.0-33
OS Version          : OSX/Ubuntu

Test scenario(s)

Console prompt easily visible on OSX/Ubuntu in dark mode

Link(s) to TestRail test cases run or created:
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: console Issues related to Console category. bug Something isn't working support
Projects
None yet
Development

No branches or pull requests

7 participants