diff options
Diffstat (limited to 'src/zen/progressbar.cpp')
| -rw-r--r-- | src/zen/progressbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zen/progressbar.cpp b/src/zen/progressbar.cpp index d39b756ae..7a0668b80 100644 --- a/src/zen/progressbar.cpp +++ b/src/zen/progressbar.cpp @@ -295,7 +295,7 @@ ProgressBar::RenderStatusLine(std::string_view Line) uint32_t CurrentRows = TuiConsoleRows(0); if (CurrentRows >= 3 && CurrentRows != m_ScrollRegionRows) { - // Terminal was resized — reinstall scroll region + // Terminal was resized - reinstall scroll region TuiSetScrollRegion(1, CurrentRows - 1); m_ScrollRegionRows = CurrentRows; } @@ -304,12 +304,12 @@ ProgressBar::RenderStatusLine(std::string_view Line) // is atomic and log output from other threads cannot interleave. ExtendableStringBuilder<512> Buf; Buf << "\x1b" - "7" // ESC 7 — save cursor + "7" // ESC 7 - save cursor << fmt::format("\x1b[{};1H", m_ScrollRegionRows) // move to bottom row << "\x1b[2K" // erase entire line << Line // progress bar content << "\x1b" - "8"; // ESC 8 — restore cursor + "8"; // ESC 8 - restore cursor OutputToConsoleRaw(Buf); } |