patch 8.2.4982: colors in terminal window are not 100% correct

Problem:    Colors in terminal window are not 100% correct.
Solution:   Use g:terminal_ansi_colors as documented. (closes #10429,
            closes #7227 closes #10347)
diff --git a/src/option.c b/src/option.c
index 559e260..9ff3084 100644
--- a/src/option.c
+++ b/src/option.c
@@ -3255,6 +3255,7 @@
 # endif
 # ifdef FEAT_TERMINAL
 	term_update_colors_all();
+	term_update_palette_all();
 	term_update_wincolor_all();
 # endif
     }