From 72e4e43b1fc1743dc3e9dae70682f2945eeba45d Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Sat, 11 Apr 2026 06:08:38 +0800 Subject: feat: implement URL navigation and input handling in browser TUI --- include/ricochet/tui/terminal.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/ricochet/tui/terminal.hh') diff --git a/include/ricochet/tui/terminal.hh b/include/ricochet/tui/terminal.hh index 59ca298..2942a2a 100644 --- a/include/ricochet/tui/terminal.hh +++ b/include/ricochet/tui/terminal.hh @@ -43,6 +43,12 @@ public: // Get terminal size std::pair get_size() const; + // Move cursor to a specific position + void move_cursor( std::size_t row, std::size_t col ) const; + + // Show or hide cursor + void show_cursor( bool visible ) const; + private: struct termios original_termios_ {}; // Save terminal original state }; -- cgit v1.2.3