diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-04-11 06:08:38 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-04-11 06:08:38 +0800 |
| commit | 3fbda8903b809e50a8e96acd66b2b80b54e1b6bf (patch) | |
| tree | 57c0edba54be82467403142d09a59e0d17ce6c23 /ricochet/include | |
| parent | 12188f045a3f6ccce4359d946167066e3b584939 (diff) | |
| download | rcc-project-3fbda8903b809e50a8e96acd66b2b80b54e1b6bf.tar.gz rcc-project-3fbda8903b809e50a8e96acd66b2b80b54e1b6bf.tar.xz | |
feat: implement URL navigation and input handling in browser TUI
Diffstat (limited to 'ricochet/include')
| -rw-r--r-- | ricochet/include/ricochet/tui/terminal.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ricochet/include/ricochet/tui/terminal.hh b/ricochet/include/ricochet/tui/terminal.hh index 59ca298..2942a2a 100644 --- a/ricochet/include/ricochet/tui/terminal.hh +++ b/ricochet/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 }; |
