tweak comment (#1871)

Belatedly address CR feedback about a comment.

------
https://chatgpt.com/codex/tasks/task_i_6892e8070be4832cba379f2955f5b8bc
This commit is contained in:
ae
2025-08-05 23:02:00 -07:00
committed by GitHub
parent eaf2fb5b4f
commit 1f7003b476

View File

@@ -39,10 +39,7 @@ pub fn init(_config: &Config) -> Result<Tui> {
)?;
set_panic_hook();
// Ensure the UI starts at the top of the terminal by clearing the
// current screen and moving the cursor to (0, 0) before creating the
// Terminal. This makes the initial welcome message render at the very top
// of the viewport, while keeping the normal scrollback history intact.
// Clear screen and move cursor to top-left before drawing UI
execute!(stdout(), Clear(ClearType::All), MoveTo(0, 0))?;
let backend = CrosstermBackend::new(stdout());