commit e427b5d09369c9ddc37f4997c80462361ee0a55e from: Omar Polo date: Thu Jul 15 09:28:48 2021 UTC use A_REVERSE instead of COLOR_CYAN for the selected completion cyan is cool, but only if the text is black. On dark terminals, where COLOR_DEFAULT is white for the foreground, using a cyan background is hard to read. Users can always drop something like the following to their configuration file style line.compl.current bg cyan commit - d7ee7b5e9bf19ebdfdef9ec0d887871ee6aedeae commit + e427b5d09369c9ddc37f4997c80462361ee0a55e blob - d7e1a2c2a8db1d3e128d976ab9711158973cad84 blob + fefc0411fc2e7dc0581e63f31944db4d855d56bd --- defaults.c +++ defaults.c @@ -114,6 +114,8 @@ struct line_face line_faces[] = { .prfx_pair = PCOMPL_CURR_PRFX, .pair = PCOMPL_CURR, .trail_pair = PCOMPL_CURR_TRAIL, + .attr = A_REVERSE, + .trail_attr = A_REVERSE, }, }; @@ -364,10 +366,6 @@ config_init(void) } line_faces[LINE_LINK].fg = COLOR_BLUE; - - line_faces[LINE_COMPL_CURRENT].prfx_bg = COLOR_CYAN; - line_faces[LINE_COMPL_CURRENT].bg = COLOR_CYAN; - line_faces[LINE_COMPL_CURRENT].trail_bg = COLOR_CYAN; load_default_keys(); }