Same command resulting in different outputs #5821
Replies: 5 comments 7 replies
-
It's not clear from your screenshots what is incorrect or expected to happen. A description and drawing a box around the problem areas would help. What is good and what is bad here, is it the formatting, the data output, does Ghostty show it differently than which other app(s) (kitty/alacritty/wezterm/gnome term/kde term/xterm)? |
Beta Was this translation helpful? Give feedback.
-
Unless your test suite somehow decides that it only wants to work under a certain terminal, I'd say this is not a Ghostty issue. (Except of course if you're talking about something else entirely, like a visual bug) |
Beta Was this translation helpful? Give feedback.
-
Sanity check: are you running the same command in both screenshots? |
Beta Was this translation helpful? Give feedback.
-
Wild guess: your "other" terminals launches a "login shell" which sets up environment needed for the command to succeed, while ghostty does not. Please compare |
Beta Was this translation helpful? Give feedback.
-
Moving to Q&A. This is definitely something environmental that npm or your tests are doing. Something somewhere is utilizing an environment variable or something that is differing. |
Beta Was this translation helpful? Give feedback.
-
I'm encountering a bug where running the
npm run test
ornpm run test:coverage
results in incorrect output in Ghostty.here's the Hyper version (Github Action CI/CD pipeline results in the same output as well):

Ghostty:

Beta Was this translation helpful? Give feedback.
All reactions