@@ -100,12 +100,16 @@ impl OutputType {
101 // Passing '--mouse' allows mouse scrolling in terminals which do not
101 // Passing '--mouse' allows mouse scrolling in terminals which do not
102 // support "fake scrolling", see https://github.com/sharkdp/bat/issues/904
102 // support "fake scrolling", see https://github.com/sharkdp/bat/issues/904
103− // The '--mouse' argument is only supported in less 551 or higher.
103+ // The '--mouse' argument is only supported in less 551 or higher. We do
104+ // not enable this option everywhere because it prevents users from
105+ // drag-selecting text without pressing shift.
106+ if env::var_os("TMUX").is_some() {
104− match less_version {
107+ match less_version {
105− Some(version) if version >= 551 => {
108+ Some(version) if version >= 551 => {
106− p.arg("--mouse");
109+ p.arg("--mouse");
111 p.args(args);
115 p.args(args);