Skip to content

Commit

Permalink
docs: Fix terminal comment (ratatui-org#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdheepak authored and test committed Oct 6, 2023
1 parent 575e2b5 commit 83ae6bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terminal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ where
f(&mut frame);
// We can't change the cursor position right away because we have to flush the frame to
// stdout first. But we also can't keep the frame around, since it holds a &mut to
// Terminal. Thus, we're taking the important data out of the Frame and dropping it.
// Buffer. Thus, we're taking the important data out of the Frame and dropping it.
let cursor_position = frame.cursor_position;

// Draw to stdout
Expand Down

0 comments on commit 83ae6bc

Please sign in to comment.