Merge branch 'main' into bug/2352/tabbed-content-active
This commit is contained in:
commit
24a17ba914
3 changed files with 9 additions and 7 deletions
|
|
@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||
- Fixed dark mode toggles in a "child" screen not updating a "parent" screen https://github.com/Textualize/textual/issues/1999
|
||||
- Fixed "panel" border not exposed via CSS
|
||||
- Fixed `TabbedContent.active` changes not changing the actual content https://github.com/Textualize/textual/issues/2352
|
||||
- Fixed broken color on macOS Terminal https://github.com/Textualize/textual/issues
|
||||
|
||||
## [0.20.1] - 2023-04-18
|
||||
|
||||
|
|
@ -55,6 +56,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||
### Fixed
|
||||
|
||||
- Fixed order styles are applied in DataTable - allows combining of renderable styles and component classes https://github.com/Textualize/textual/pull/2272
|
||||
- Fixed key combos with up/down keys in some terminals https://github.com/Textualize/textual/pull/2280
|
||||
- Fix empty ListView preventing bindings from firing https://github.com/Textualize/textual/pull/2281
|
||||
- Fix `get_component_styles` returning incorrect values on first call when combined with pseudoclasses https://github.com/Textualize/textual/pull/2304
|
||||
- Fixed `active_message_pump.get` sometimes resulting in a `LookupError` https://github.com/Textualize/textual/issues/2301
|
||||
|
|
|
|||
|
|
@ -210,8 +210,8 @@ ANSI_SEQUENCES_KEYS: Mapping[str, Tuple[Keys, ...]] = {
|
|||
"\x1b[1;3F": (Keys.Escape, Keys.End),
|
||||
"\x1b[1;3H": (Keys.Escape, Keys.Home),
|
||||
# Alt+shift+number.
|
||||
"\x1b[1;4A": (Keys.Escape, Keys.ShiftDown),
|
||||
"\x1b[1;4B": (Keys.Escape, Keys.ShiftUp),
|
||||
"\x1b[1;4A": (Keys.Escape, Keys.ShiftUp),
|
||||
"\x1b[1;4B": (Keys.Escape, Keys.ShiftDown),
|
||||
"\x1b[1;4C": (Keys.Escape, Keys.ShiftRight),
|
||||
"\x1b[1;4D": (Keys.Escape, Keys.ShiftLeft),
|
||||
"\x1b[1;4F": (Keys.Escape, Keys.ShiftEnd),
|
||||
|
|
@ -240,15 +240,15 @@ ANSI_SEQUENCES_KEYS: Mapping[str, Tuple[Keys, ...]] = {
|
|||
"\x1b[1;6F": (Keys.ControlShiftEnd,),
|
||||
"\x1b[1;6H": (Keys.ControlShiftHome,),
|
||||
# Control + Meta + arrows.
|
||||
"\x1b[1;7A": (Keys.Escape, Keys.ControlDown),
|
||||
"\x1b[1;7B": (Keys.Escape, Keys.ControlUp),
|
||||
"\x1b[1;7A": (Keys.Escape, Keys.ControlUp),
|
||||
"\x1b[1;7B": (Keys.Escape, Keys.ControlDown),
|
||||
"\x1b[1;7C": (Keys.Escape, Keys.ControlRight),
|
||||
"\x1b[1;7D": (Keys.Escape, Keys.ControlLeft),
|
||||
"\x1b[1;7F": (Keys.Escape, Keys.ControlEnd),
|
||||
"\x1b[1;7H": (Keys.Escape, Keys.ControlHome),
|
||||
# Meta + Shift + arrows.
|
||||
"\x1b[1;8A": (Keys.Escape, Keys.ControlShiftDown),
|
||||
"\x1b[1;8B": (Keys.Escape, Keys.ControlShiftUp),
|
||||
"\x1b[1;8A": (Keys.Escape, Keys.ControlShiftUp),
|
||||
"\x1b[1;8B": (Keys.Escape, Keys.ControlShiftDown),
|
||||
"\x1b[1;8C": (Keys.Escape, Keys.ControlShiftRight),
|
||||
"\x1b[1;8D": (Keys.Escape, Keys.ControlShiftLeft),
|
||||
"\x1b[1;8F": (Keys.Escape, Keys.ControlShiftEnd),
|
||||
|
|
|
|||
|
|
@ -421,7 +421,7 @@ class Strip:
|
|||
Rendered sequences.
|
||||
"""
|
||||
if self._render_cache is None:
|
||||
color_system = cast(ColorSystem, console.color_system)
|
||||
color_system = console._color_system
|
||||
render = Style.render
|
||||
self._render_cache = "".join(
|
||||
[
|
||||
|
|
|
|||
Loading…
Reference in a new issue