Stores cursor state for restoration after refresh
| 11 | |
| 12 | @dataclass |
| 13 | class CursorState: |
| 14 | """Stores cursor state for restoration after refresh""" |
| 15 | row: int |
| 16 | column: int |
| 17 | column_name: Optional[str] = None |
| 18 | cell_value: Optional[str] = None |
| 19 | |
| 20 | def __repr__(self) -> str: |
| 21 | return f"CursorState(row={self.row}, col={self.column}, col_name={self.column_name})" |
| 22 | |
| 23 | |
| 24 | class CursorManager: |