MCPcopy Index your code
hub / github.com/tanelpoder/0xtools / CursorState

Class CursorState

xtop/tui/cursor_manager.py:13–21  ·  view source on GitHub ↗

Stores cursor state for restoration after refresh

Source from the content-addressed store, hash-verified

11
12@dataclass
13class 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
24class CursorManager:

Callers 1

save_positionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected