diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-05 19:54:03 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-05 19:54:03 -0500 |
commit | 652da944c680e53a6c35757ad6bc2612fd45e264 (patch) | |
tree | f762cea17d7a207cc73bf18ae0ea77929620a9ba /src/bin/ttyplay/display.rs | |
parent | f6d8f7d72bb8bd54350f74b75ea0b8d2ecd55ccd (diff) | |
download | ttyrec-bin-652da944c680e53a6c35757ad6bc2612fd45e264.tar.gz ttyrec-bin-652da944c680e53a6c35757ad6bc2612fd45e264.zip |
fix cursor position
Diffstat (limited to 'src/bin/ttyplay/display.rs')
-rw-r--r-- | src/bin/ttyplay/display.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/ttyplay/display.rs b/src/bin/ttyplay/display.rs index 082148a..906836f 100644 --- a/src/bin/ttyplay/display.rs +++ b/src/bin/ttyplay/display.rs @@ -71,9 +71,8 @@ impl Display { &self, output: &mut textmode::Output, ) -> anyhow::Result<()> { - let pos = output.screen().cursor_position(); - self.render_screen(output); + let pos = output.screen().cursor_position(); if self.paused && self.show_ui { self.render_frame_count(output); |