-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Cursor position incorrect when using Laravel 10 with prompt element #2534
Comments
What terminal is this and what is the output of |
Screenshot is from iTerm but I see the same behaviour on MacOS Terminal. Output of locale is:
|
Does the output of the following command contain colored bits? Could you post a screenshot? php artisan --version This needs to be run in the project directory. |
Wow. They'll probably fix this so that colors aren't written when stdout is not a TTY, but in the meantime I can add a workaround. Please send me the output of the following command. Hopefully it'll be the last one I'll ask you to run. printf '%q\n' "$(php artisan --version)" |
Fixed. Please update powerlevel10k and verify whether it now works correctly for you.
Apparently, versions prior to 10 don't have this bug: they output colors only when the stdout is a TTY. You can verify this with |
I've installed powerlevel10k using brew. What's the best way for me to update seeing as brew is showing as up-to-date |
You could ditch brew for now and use the manual installation option, at least until I cut a new release.
|
🤦♂️ f5d5abf Please try again. |
Thanks a ton for you help on this issue: from reporting and remote debugging to verifying and even catching the silly bug I pushed! <3 |
When the Laravel prompt element is turned on and Laravel 10 is installed, the cursor shows up in the incorrect position, see screenshot for more detail. On top of this the Laravel version number is also showing in the incorrect color, it should be showing in red as it does for all other Laravel versions.
The text was updated successfully, but these errors were encountered: