diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-14 15:52:28 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-14 15:52:28 -0500 |
| commit | d3acbdec5c04f27d33d7b2023b544a640a611947 (patch) | |
| tree | 68b139c2a31990704b49353d3b9a375e8e8a8061 /Omni/Bild.hs | |
| parent | 669dd3a1ab6c72d530c6480afa1ee54f2353c8a6 (diff) | |
Fix concurrent terminal update issues
- Remove [+] display from reserveLine (was causing mangled output
from concurrent writes) - Add [+] display in analyze function where
it's single-threaded - Simplify cleanup to just move cursor down
without clearing lines - This eliminates race conditions and terminal
clearing issues
Diffstat (limited to 'Omni/Bild.hs')
| -rwxr-xr-x | Omni/Bild.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Omni/Bild.hs b/Omni/Bild.hs index 1bb42db..704a47d 100755 --- a/Omni/Bild.hs +++ b/Omni/Bild.hs @@ -542,6 +542,7 @@ analyze hmap ns = case Map.lookup ns hmap of let quapath = path user <- Env.getEnv "USER" /> Text.pack host <- HostName.getHostName /> Text.pack + Log.wipe >> Log.info ["+", nschunk namespace] contentLines <- withFile abspath ReadMode <| \h -> IO.hSetEncoding h IO.utf8_bom |
