[util] Limit chafa to one thread
This commit is contained in:
parent
2b010d8017
commit
f43ba351e8
|
@ -59,6 +59,8 @@ chafa_print_image_rgb24 (const void *data, int width, int height, int stride, in
|
||||||
/* Adapt to terminal; use sixels if available, and fall back to symbols
|
/* Adapt to terminal; use sixels if available, and fall back to symbols
|
||||||
* with as many colors as are supported */
|
* with as many colors as are supported */
|
||||||
|
|
||||||
|
chafa_set_n_threads (1); // https://github.com/hpjansson/chafa/issues/125#issuecomment-1397475217
|
||||||
|
|
||||||
environ = g_get_environ ();
|
environ = g_get_environ ();
|
||||||
term_info = chafa_term_db_detect (chafa_term_db_get_default (),
|
term_info = chafa_term_db_detect (chafa_term_db_get_default (),
|
||||||
environ);
|
environ);
|
||||||
|
|
Loading…
Reference in New Issue