Rendering misbehaviour and test failures under vttest #4047
-
I thought I'd try
How should these be dealt with? Should any more |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
zutty appears to have a good test suite and records what tests it passes/fails as part of its release (see https://tomscii.sig7.se/zutty/doc/VTTEST.html and https://tomscii.sig7.se/2020/12/A-totally-biased-comparison-of-Zutty) |
Beta Was this translation helpful? Give feedback.
-
Blinking text is a known missing feature (see #5217), and I'm not sure if we necessarily have VT52 support. It should be noted that while Ghostty is a terminal emulator, it's not necessarily 100% a VT100 emulator — like most modern terminal emulators it's more an xterm-like emulator. That being said, if we're not doing something xterm does then we should try to do that as well. |
Beta Was this translation helpful? Give feedback.
-
Generally speaking, the answer to this is "it depends." There is a lot that vttest tests that is completely irrelevant for modern terminals. I originally set out to pass vttest completely and fell back to this more nuanced approach, balancing with our desire to match xterm as closely as possible. I think more specifically, my answer would be: if we can get a vttest passing without impacting other users, performance, or security, then I'd likely merge the PR. (Note on the security point, the best option there is to usually make these opt-in). Another specific answer is if there is real software out there that is used at some reasonable scale and it's not working in Ghostty, then of course we'll prioritize that.
This is an easy one: we don't plan on supporting VT52 mode. I'm not sure what the lowest VT compatibility is I'd settle on but it's definitely higher than that. |
Beta Was this translation helpful? Give feedback.
Generally speaking, the answer to this is "it depends."
There is a lot that vttest tests that is completely irrelevant for modern terminals. I originally set out to pass vttest completely and fell back to this more nuanced approach, balancing with our desire to match xterm as closely as possible.
I think more specifically, my answer would be: if we can get a vttest passing without impacting other users, performance, or security, then I'd likely merge the PR. (Note on the security point, the best option there is to usually make these opt-in).
Another specific answer is if there is real software out there that is used at some reasonable scale and it's not working in Ghostty, then of course …