mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 03:42:56 +08:00

Curses variables like `enter_italics_mode` are secretly defined to dereference through the `cur_term` variable. Be sure we do not read or write these curses variables if cur_term is NULL. See #8873, #8875. Add a regression test.