-
Notifications
You must be signed in to change notification settings - Fork 472
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
bash: seeing extra leading character '[' in command output #4494
Comments
@jparise Thanks for converting. I can't tell from the discussion but did you get a lead on what is causing this? More importantly: do you have an easy reproduction? |
Unfortunately, no to both. I tried a bunch of things myself (details in the discussion), but I haven't been able to reproduce or identify the root cause. Multiple people have seen it in various Linux environments though. |
@jparise I'm happy to assist in creating an environment in which this is reproducible. Let me know if you want an extra set of hands on this. |
Yes, that would be very helpful. Thanks for the offer! |
I have replicated the issue outside of Ghostty (eg in Gnome Terminal) on NixOS. Setup:
I tried putting traces before and after all of the printf calls as well as the PS* entries and the '[' still prints before all of them. I don't believe the issue to be related to the prompt. |
Discussed in #3566
Originally posted by jharshman December 27, 2024
After compiling from source and running I am seeing an extra character in the output of every command. Is anyone else experiencing this? Shell is Bash and no modifications to the PS1.
The text was updated successfully, but these errors were encountered: