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:
parent
a4960649ad
commit
03262f3fff
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user