aboutsummaryrefslogtreecommitdiff
path: root/include/ricochet
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-04-11 06:08:38 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-04-11 06:08:38 +0800
commit72e4e43b1fc1743dc3e9dae70682f2945eeba45d (patch)
tree2ac8bc85fd4214f1fa07f64aada4809fb1fc3fd6 /include/ricochet
parent4ef9c771444943008bb990343127a7d659fd6df2 (diff)
downloadrwebbrowser-72e4e43b1fc1743dc3e9dae70682f2945eeba45d.tar.gz
rwebbrowser-72e4e43b1fc1743dc3e9dae70682f2945eeba45d.tar.xz
feat: implement URL navigation and input handling in browser TUI
Diffstat (limited to 'include/ricochet')
-rw-r--r--include/ricochet/tui/terminal.hh6
1 files changed, 6 insertions, 0 deletions
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<std::size_t, std::size_t> 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
};