Rename cached_esc_sequences_t to layout_cache_t

Preparation for migrating the prompt cache into this struct.
This commit is contained in:
ridiculousfish
2018-02-04 15:03:50 -08:00
parent 634feac600
commit d1436486e2
4 changed files with 54 additions and 45 deletions

View File

@@ -606,7 +606,7 @@ static void init_curses() {
term_has_xn = tigetflag((char *)"xenl") == 1; // does terminal have the eat_newline_glitch
update_fish_color_support();
// Invalidate the cached escape sequences since they may no longer be valid.
cached_esc_sequences.clear();
cached_layouts.clear();
curses_initialized = true;
}