on master help sign in
Modified restore_term fn in application.rs. Changed '\x1B[2 q' to '\x1B[0 q' to restore cursor to user default after exiting helix (#3289)
commitd693b374454ed24ca143121374f9499cc23a52c8 authorEric K <erickoehli@gmail.com> dateMon 1 Aug 2022, 21:05 (4 years ago) parent1136748
1 file changed+1−1
helix-term/src/application.rs+1−1
helix-term/src/application.rs+1−1
@@ -801,7 +801,7 @@ impl Application {
801801 fn restore_term(&mut self) -> Result<(), Error> {
802802 let mut stdout = stdout();
803803 // reset cursor shape
804− write!(stdout, "\x1B[2 q")?;
804+ write!(stdout, "\x1B[0 q")?;
805805 // Ignore errors on disabling, this might trigger on windows if we call
806806 // disable without calling enable previously
807807 let _ = execute!(stdout, DisableMouseCapture);