mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-21 11:16:08 +03:00

Use "xterm-ghostty" as the primary terminfo name. This is a hack on a hack...we use "xterm-ghostty" to prevent vim from breaking, and when we do this as the default we break tcell-based applications (lazygit, aerc, etc). tcell has a bug where the primary terminfo name must be the value of TERM. https://github.com/gdamore/tcell/pull/639 fixes the issue but is not merged yet. Fixes: 779186ad ("config: add term config option")