More debugging on Fedora: - reverting doesn't work when screen_attr is 0 in screen_stop_highlight() - screen_attr is 0 because cterm_normal_fg_color, cterm_normal_bg_color and cterm_normal_fg_bold are 0 in reset_cterm_colors() - cterm_normal_* variables are 0 because they are set in restore_cterm_colors() to 0 (in Fedora) - restore_cterm_colors() is called because newline_on_exit and msg_didout variables are 0
There's the difference between good color revert and bad color revert - msg_didout is 1 when command ':wq' is used, but with ':q!' isn't. And that msg_didout is set to 1 in t_puts(), when Vim writes 'Saved' message on command line. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
