mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-10 11:02:11 +00:00
fix broken progressbar display on urxvt due to improper calculation of to_erase
added space before bracket
This commit is contained in:
parent
665c5feaca
commit
27df5cf06e
@ -196,7 +196,7 @@ fu_progressbar_refresh (FuProgressbar *self, FwupdStatus status, guint percentag
|
|||||||
|
|
||||||
/* dump to screen */
|
/* dump to screen */
|
||||||
g_print ("%s", str->str);
|
g_print ("%s", str->str);
|
||||||
self->to_erase = str->len;
|
self->to_erase = g_utf8_strlen (str->str, -1);
|
||||||
|
|
||||||
/* done */
|
/* done */
|
||||||
if (is_idle_newline) {
|
if (is_idle_newline) {
|
||||||
|
Loading…
Reference in New Issue
Block a user