From 86ca5f9edff128067d91434e1fd7f4688b528566 Mon Sep 17 00:00:00 2001 From: Nathan Vegdahl Date: Mon, 1 Jan 2018 03:21:27 -0800 Subject: [PATCH] Another silly bug... --- src/term_ui/screen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/term_ui/screen.rs b/src/term_ui/screen.rs index 4c53796..0929f81 100644 --- a/src/term_ui/screen.rs +++ b/src/term_ui/screen.rs @@ -69,7 +69,7 @@ impl Screen { // Write everything to the tmp_string first. for y in 0..self.h { let mut x = 0; - write!(out, "{}", termion::cursor::Goto(1, y as u16 + 2)).unwrap(); + write!(out, "{}", termion::cursor::Goto(1, y as u16 + 1)).unwrap(); while x < self.w { if let Some((style, ref text)) = buf[y * self.w + x] { if style != last_style {