summaryrefslogtreecommitdiff
path: root/Omni/Log/Terminal.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Omni/Log/Terminal.hs')
-rw-r--r--Omni/Log/Terminal.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Omni/Log/Terminal.hs b/Omni/Log/Terminal.hs
index 6832d17..1a4c717 100644
--- a/Omni/Log/Terminal.hs
+++ b/Omni/Log/Terminal.hs
@@ -54,10 +54,9 @@ detectTerminal = do
Just (h, w) -> (w, h)
Nothing -> (80, 24) -- sensible default
- -- Determine mode based on terminal width
+ -- Determine mode based on ANSI support
let mode
| not supportsANSI = SingleLine -- Fallback to single line for dumb terminals
- | width < 80 = SingleLine
| otherwise = MultiLine
pure