News for hackers. Stuff that matters.
Re:Cool-retro-term: terminal emulator which mimics look and ... by Diti on Monday November 24, 2025 @01:56PM (#46037697)
Ghostty already supports shaders and effects like this.
Re:Cool-retro-term: terminal emulator which mimics look and ... by aduitsis on Monday November 24, 2025 @02:28PM (#46038134)
It can only apply shader(s) to the current frame I think. To produce the crt ghosting you'd probably need access to the previous frame (not an expert).
Re:Cool-retro-term: terminal emulator which mimics look and ... by throitallaway on Monday November 24, 2025 @02:43PM (#46038321)
I've tried the shaders in the following repo with ghostty. They definitely work. I ended up keeping a cursor trail shader. https://github.com/0xhckr/ghostty-shaders
Re:Cool-retro-term: terminal emulator which mimics look and ... by aduitsis on Monday November 24, 2025 @03:33PM (#46038939)
Yes, correct! If you check out https://ghostty.org/docs/config/reference, the iPreviousCursor is available, so it can be used against the iCurrentCursor to produce a fading effect. But I think the entire previous framebuffer isn't there (yet).