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
|
-- --chop-long-lines
|
||||||
-- --hilite-unread
|
-- --hilite-unread
|
||||||
-- --ignore-case
|
-- --ignore-case
|
||||||
-- --mouse
|
|
||||||
-- --no-init
|
-- --no-init
|
||||||
-- --quit-at-eof
|
-- --quit-at-eof
|
||||||
-- --quit-if-one-screen
|
-- --quit-if-one-screen
|
||||||
@ -644,7 +643,6 @@ setupPager = do
|
|||||||
"--chop-long-lines"
|
"--chop-long-lines"
|
||||||
,"--hilite-unread"
|
,"--hilite-unread"
|
||||||
,"--ignore-case"
|
,"--ignore-case"
|
||||||
,"--mouse"
|
|
||||||
,"--no-init"
|
,"--no-init"
|
||||||
,"--quit-at-eof"
|
,"--quit-at-eof"
|
||||||
,"--quit-if-one-screen"
|
,"--quit-if-one-screen"
|
||||||
|
|||||||
@ -781,7 +781,6 @@ to enable ANSI colour and a number of other conveniences.
|
|||||||
--chop-long-lines
|
--chop-long-lines
|
||||||
--hilite-unread
|
--hilite-unread
|
||||||
--ignore-case
|
--ignore-case
|
||||||
--mouse
|
|
||||||
--no-init
|
--no-init
|
||||||
--quit-at-eof
|
--quit-at-eof
|
||||||
--quit-if-one-screen
|
--quit-if-one-screen
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user