mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00
this should be a doc comment
This commit is contained in:
@ -1198,12 +1198,12 @@ pub fn reverseIndex(self: *Terminal) void {
|
||||
self.scrollDown(1);
|
||||
}
|
||||
|
||||
// Set Cursor Position. Move cursor to the position indicated
|
||||
// by row and column (1-indexed). If column is 0, it is adjusted to 1.
|
||||
// If column is greater than the right-most column it is adjusted to
|
||||
// the right-most column. If row is 0, it is adjusted to 1. If row is
|
||||
// greater than the bottom-most row it is adjusted to the bottom-most
|
||||
// row.
|
||||
/// Set Cursor Position. Move cursor to the position indicated
|
||||
/// by row and column (1-indexed). If column is 0, it is adjusted to 1.
|
||||
/// If column is greater than the right-most column it is adjusted to
|
||||
/// the right-most column. If row is 0, it is adjusted to 1. If row is
|
||||
/// greater than the bottom-most row it is adjusted to the bottom-most
|
||||
/// row.
|
||||
pub fn setCursorPos(self: *Terminal, row_req: usize, col_req: usize) void {
|
||||
// If cursor origin mode is set the cursor row will be moved relative to
|
||||
// the top margin row and adjusted to be above or at bottom-most row in
|
||||
|
Reference in New Issue
Block a user