diff options
Diffstat (limited to 'include/ricochet/tui/terminal.hh')
| -rw-r--r-- | include/ricochet/tui/terminal.hh | 6 |
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 }; |
