mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
terminal-util: extend timeout on background color request
I managed to hit the timeout a couple of times inside of slow qemu. Let's increase it a bit to 1/3s
This commit is contained in:
@@ -1829,7 +1829,7 @@ int get_default_background_color(double *ret_red, double *ret_green, double *ret
|
||||
if (r < 0)
|
||||
goto finish;
|
||||
|
||||
usec_t end = usec_add(now(CLOCK_MONOTONIC), 100 * USEC_PER_MSEC);
|
||||
usec_t end = usec_add(now(CLOCK_MONOTONIC), 333 * USEC_PER_MSEC);
|
||||
char buf[STRLEN("\x1B]11;rgb:0/0/0\x07")]; /* shortest possible reply */
|
||||
size_t buf_full = 0;
|
||||
BackgroundColorContext context = {};
|
||||
|
||||
Reference in New Issue
Block a user