diff options
Diffstat (limited to 'src/ghostty')
| -rw-r--r-- | src/ghostty/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ghostty/mod.rs b/src/ghostty/mod.rs index c044d3b0..261638af 100644 --- a/src/ghostty/mod.rs +++ b/src/ghostty/mod.rs @@ -1412,6 +1412,10 @@ impl Terminal { self.get_u16(ffi::GhosttyTerminalData_GHOSTTY_TERMINAL_DATA_ROWS) } + pub fn cursor_y(&self) -> Result<u16, Error> { + self.get_u16(ffi::GhosttyTerminalData_GHOSTTY_TERMINAL_DATA_CURSOR_Y) + } + pub fn effective_foreground_color(&self) -> Result<Option<RgbColor>, Error> { self.get_optional_rgb_color(TERMINAL_DATA_COLOR_FOREGROUND) } |
