Skip to content

Commit 3d9923d

Browse files
authored
Merge branch 'main' into title-format
2 parents f90ac22 + ba68936 commit 3d9923d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2626

2727
- Breaking change: The `renderable` property on the `Static` widget has been changed to `content`. https://github.com/Textualize/textual/pull/6041
2828
- Breaking change: `HeaderTitle` widget is now a static, with no `text` and `sub_text` reactives https://github.com/Textualize/textual/pull/6051
29+
- Breaking change: Renamed `Label` constructor argument `renderable` to `content` for consistency https://github.com/Textualize/textual/pull/6045
2930

3031
# [5.3.0] - 2025-08-07
3132

src/textual/_keyboard_protocol.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@
1313
"5~": "pageup",
1414
"6~": "pagedown",
1515
"1H": "home",
16+
"1~": "home",
1617
"7~": "home",
1718
"1F": "end",
19+
"4~": "end",
1820
"8~": "end",
1921
"57358u": "caps_lock",
2022
"57359u": "scroll_lock",

src/textual/widgets/_label.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ class Label(Static):
4848

4949
def __init__(
5050
self,
51-
# TODO: Should probably be renamed to `content`.
52-
renderable: VisualType = "",
51+
content: VisualType = "",
5352
*,
5453
variant: LabelVariant | None = None,
5554
expand: bool = False,
@@ -61,7 +60,7 @@ def __init__(
6160
disabled: bool = False,
6261
) -> None:
6362
super().__init__(
64-
renderable,
63+
content,
6564
expand=expand,
6665
shrink=shrink,
6766
markup=markup,

0 commit comments

Comments
 (0)