From 0463712cbbe9f75d3ff9f534e712d1f182cf0caf Mon Sep 17 00:00:00 2001 From: sys4 Date: Sun, 22 Dec 2019 22:06:35 +0100 Subject: [PATCH] Change la barre de progression pendant le chargement du mod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cette dernière n'était pas bien supportée par tous les terminaux. --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 24185f8..0c899fe 100644 --- a/init.lua +++ b/init.lua @@ -1415,7 +1415,7 @@ local function get_init_items() last_str = str end - local full_char, empty_char = "▰", "▱" + local full_char, empty_char = "o", "." for name, def in pairs(reg_items) do ic = ic + 1 @@ -1425,7 +1425,7 @@ local function get_init_items() bar = bar .. (i <= percent / (100 / len) and full_char or empty_char) end - iop(fmt("[craftguide] Caching data %s %u%%\r", bar, percent)) + iop(fmt("[craftguide] Caching data %s %u%%\n", bar, percent)) if show_item(def) then if not fuel_cache[name] then