Skip to content

Commit 651f58f

Browse files
committed
Prepare 19.1.0 release.
1 parent 84df0e7 commit 651f58f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
66

77
## [Unreleased]
88

9+
## [19.1.0] - 2025-07-12
10+
911
### Added
1012

1113
- Added text input support to `tcod.sdl.video.Window` which was missing since the SDL3 update.

tcod/sdl/video.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class TextInputType(enum.IntEnum):
9898
:any:`Window.start_text_input`
9999
https://wiki.libsdl.org/SDL3/SDL_TextInputType
100100
101-
.. versionadded:: Unreleased
101+
.. versionadded:: 19.1
102102
"""
103103

104104
TEXT = lib.SDL_TEXTINPUT_TYPE_TEXT
@@ -128,7 +128,7 @@ class Capitalization(enum.IntEnum):
128128
:any:`Window.start_text_input`
129129
https://wiki.libsdl.org/SDL3/SDL_Capitalization
130130
131-
.. versionadded:: Unreleased
131+
.. versionadded:: 19.1
132132
"""
133133

134134
NONE = lib.SDL_CAPITALIZE_NONE
@@ -449,7 +449,7 @@ def start_text_input(
449449
:any:`set_text_input_area`
450450
https://wiki.libsdl.org/SDL3/SDL_StartTextInputWithProperties
451451
452-
.. versionadded:: Unreleased
452+
.. versionadded:: 19.1
453453
"""
454454
props = Properties()
455455
props[("SDL_PROP_TEXTINPUT_TYPE_NUMBER", int)] = int(type)
@@ -473,7 +473,7 @@ def set_text_input_area(self, rect: tuple[int, int, int, int], cursor: int) -> N
473473
:any:`start_text_input`
474474
https://wiki.libsdl.org/SDL3/SDL_SetTextInputArea
475475
476-
.. versionadded:: Unreleased
476+
.. versionadded:: 19.1
477477
"""
478478
_check(lib.SDL_SetTextInputArea(self.p, (rect,), cursor))
479479

@@ -483,7 +483,7 @@ def stop_text_input(self) -> None:
483483
.. seealso::
484484
:any:`start_text_input`
485485
486-
.. versionadded:: Unreleased
486+
.. versionadded:: 19.1
487487
"""
488488
_check(lib.SDL_StopTextInput(self.p))
489489

0 commit comments

Comments
 (0)