fix📟 don't use --mouse in default less options

Avoid an error on systems where less does not have mouse support.
This commit is contained in:
Simon Michael 2025-08-22 07:56:13 +01:00
parent a4960649ad
commit 03262f3fff
2 changed files with 0 additions and 3 deletions

View File

@ -622,7 +622,6 @@ getTerminalWidth = fmap snd <$> getTerminalHeightWidth
-- --chop-long-lines
-- --hilite-unread
-- --ignore-case
-- --mouse
-- --no-init
-- --quit-at-eof
-- --quit-if-one-screen
@ -644,7 +643,6 @@ setupPager = do
"--chop-long-lines"
,"--hilite-unread"
,"--ignore-case"
,"--mouse"
,"--no-init"
,"--quit-at-eof"
,"--quit-if-one-screen"

View File

@ -781,7 +781,6 @@ to enable ANSI colour and a number of other conveniences.
--chop-long-lines
--hilite-unread
--ignore-case
--mouse
--no-init
--quit-at-eof
--quit-if-one-screen