diff options
| author | Denis Maximov <denismaximov98@gmail.com> | 2020-11-19 16:30:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-19 15:30:05 +0100 |
| commit | cf43736656e0d9ba0744c687373a60749a92cdb0 (patch) | |
| tree | 9c5ab10a6e1632fe1b4fcb1861cf94c04c5de6f2 /src/main.rs | |
| parent | fix(compatibility): some fixes for htop (#53) (diff) | |
| download | sl0ppij-cf43736656e0d9ba0744c687373a60749a92cdb0.tar.gz sl0ppij-cf43736656e0d9ba0744c687373a60749a92cdb0.tar.xz sl0ppij-cf43736656e0d9ba0744c687373a60749a92cdb0.zip | |
refactor(data-structures): #51 change winsize to positionandsize (#56)
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index d331451c..c5d17c6c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -432,7 +432,7 @@ pub fn start(mut os_input: Box<dyn OsApi>, opts: Opt) { } // cleanup(); let reset_style = "\u{1b}[m"; - let goto_start_of_last_line = format!("\u{1b}[{};{}H", full_screen_ws.ws_row, 1); + let goto_start_of_last_line = format!("\u{1b}[{};{}H", full_screen_ws.rows, 1); let goodbye_message = format!( "{}\n{}Bye from Mosaic!", goto_start_of_last_line, reset_style |
