Skip to content

Commit 891b930

Browse files
committed
punctuation
1 parent f1dd20b commit 891b930

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/textual/widgets/_input.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,12 +470,12 @@ def _cursor_offset(self) -> int:
470470

471471
@property
472472
def cursor_at_start(self) -> bool:
473-
"""Flag to indicate if the cursor is at the start"""
473+
"""Flag to indicate if the cursor is at the start."""
474474
return self.cursor_position == 0
475475

476476
@property
477477
def cursor_at_end(self) -> bool:
478-
"""Flag to indicate if the cursor is at the end"""
478+
"""Flag to indicate if the cursor is at the end."""
479479
return self.cursor_position == len(self.value)
480480

481481
def check_consume_key(self, key: str, character: str | None) -> bool:
@@ -518,7 +518,7 @@ def _watch_cursor_blink(self, blink: bool) -> None:
518518

519519
@property
520520
def cursor_screen_offset(self) -> Offset:
521-
"""The offset of the cursor of this input in screen-space. (x, y)/(column, row)"""
521+
"""The offset of the cursor of this input in screen-space. (x, y)/(column, row)."""
522522
x, y, _width, _height = self.content_region
523523
scroll_x, _ = self.scroll_offset
524524
return Offset(x + self._cursor_offset - scroll_x, y)

0 commit comments

Comments
 (0)