Commit ede738c0 authored by Michael Aaron Murphy's avatar Michael Aaron Murphy

Merge branch 'jetbrains-terminal-output-fix' into 'master'

Remove escape code 1049l

Closes #7

See merge request !18
parents 601746ac c6072010
......@@ -940,7 +940,7 @@ impl<'a, W: Write> Editor<'a, W> {
let new_num_lines = (new_total_width + terminal_width) / terminal_width;
output_buf.append(b"\x1B[?1049l\x1B[?1000l\x1B[?1l");
output_buf.append(b"\x1B[?1000l\x1B[?1l");
// Move the term cursor to the same line as the prompt.
if self.term_cursor_line > 1 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment