mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 00:41:15 -03:00
Removed the "don't highlight with stale data" code, that caused "flashing" as we typed
This commit is contained in:
@@ -2461,13 +2461,6 @@ static int threaded_highlight(void *ctx_ptr) {
|
||||
*/
|
||||
static void reader_super_highlight_me_plenty( int match_highlight_pos, array_list_t *error )
|
||||
{
|
||||
|
||||
/* Ensure we don't repaint with stale data */
|
||||
size_t i;
|
||||
for (i=0; i < data->buff_sz; i++) {
|
||||
data->color[i] = HIGHLIGHT_NORMAL;
|
||||
}
|
||||
|
||||
int *color = (int *)calloc(data->buff_sz, sizeof *color);
|
||||
background_highlight_context_t *ctx = new background_highlight_context_t(data->buff, color, match_highlight_pos, data->highlight_function);
|
||||
#if 1
|
||||
|
||||
Reference in New Issue
Block a user