summaryrefslogtreecommitdiffstats
path: root/src/prompt_toolkit/data_structures.py
blob: d031acffd2a639f666ac4ac44392d63dd4893abc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from typing import NamedTuple

__all__ = [
    "Point",
    "Size",
]


class Point(NamedTuple):
    x: int
    y: int


class Size(NamedTuple):
    rows: int
    columns: int