pypi / textual
textual
What changed in textual 6 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
8 breaking41 new APIs and options9 performance14 behavior and defaults30 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inittextual 845 changes
Breaking changes 4
In TextArea, alt+delete is now bound to delete the word to the right.
In TextArea, ctrl+u now deletes a newline when the cursor is at the start.
Fixed selection to the right of code fence blocks.
Replaces Select.BLANK with Select.NULL to avoid a name clash with the newer Widget.BLANK class variable.
New APIs and options 16
Adds support for the Kitty protocol's “Report all keys as escape codes” mode, enabling additional keys such as alt+backspace on supported terminals.
Adds an environment variable to disable Kitty key protocol support as a debugging aid.
Adds an ansi value to themes for configuring dedicated ANSI themes.
Adds the ansi-dark theme, available from the command palette.
Adds the ansi-light theme, available from the command palette.
Added DOM.update_classes.
Adds an App setting to control whether auto-scrolling on select is enabled.
Adds an App setting to tweak auto-scrolling lines.
Adds an App setting to tweak auto-scrolling speed.
Adds an experimental boolean option to pause garbage collection on scroll; it is disabled by default.
Adds a signal for mode changes.
Adds a signal for screen changes.
Adds the Catppuccin Frappe theme.
Adds the Macchiato theme.
Adds a mode argument to push a screen to a non-active mode.
Adds the Tabs.get_tab API.
Performance 5
Resize work now runs on a timer instead of while idle, reducing lag when resizing the window.
Textual apps adapt to terminal size changes more quickly by avoiding pointless style updates when resizing.
DOM references now use weak references instead of circular references to improve garbage-collection times.
DirectoryTree runs more operations in a thread to avoid micro-freezes.
Garbage collection was tweaked to reduce GC time.
Behavior and default changes 8
In Input and TextArea, super+backspace is now an alias for ctrl+u.
On terminals supporting the Kitty key protocol, modifier keys are detected as separate key events.
Applying text opacity below 50% to an ANSI theme now sets the dim attribute.
Text can be selected without first clicking on a content area or being as precise about selecting text.
App.ansi_color may be None to use the ansi value from the theme.
Text selection now auto-scrolls.
Text can now be selected across container widgets.
Themes are now listed in alphabetical order in the command palette.
Fixes and other changes 12
In Input and TextArea, alt+backspace has the same effect as ctrl+backspace; on Mac, this is option+backspace.
Parsing Kitty extended keys with multiple codepoints is fixed.
Clicking in the Screen's padding no longer causes a crash.
Undo, redo, copy, cut, and paste in TextArea now work with cmd+ on supported terminals.
Fixed Markdown code fences losing content when switching themes.
Fixed an anchor being released when scrolling down with the trackpad.
Fixes a crash when a widget disappears between selections.
Fixes animation on complete.
When an attribute is animated a second time, the original on_complete callback is now called.
Fixed issues with Directory Tree.
Dismissing a non-active screen now works instead of being a no-op with a warning, though the screen may not update if its mode is not active.
Screen switching adds a 50ms delay to allow state to update and prevent a janky flash of old content.
textual 717 changes
Breaking changes 1
A selected event is sent on click only if the cell, row, or column is currently highlighted.
New APIs and options 9
Adds the TCSS
pointerstyle to set the mouse cursor shape over a widget; it requires terminal support for the Kitty pointer shapes protocol.Added DOM.query_one_optional.
Added a default parameter to get_component_rich_style.
Added super+c (command on mac) as an alternative copy binding for terminals that support it.
Added Widget.BLANK, which can optimize rendering of large widgets, typically containers that scroll.
Adds the refresh_styles boolean to reduce style updates when popping screens.
The atom-one-dark theme has been added.
The atom-one-light theme has been added.
The method has gained an animate parameter, changing how developers can update node styles.
Performance 2
Fixed a performance issue with large scrollable containers.
Removed superfluous style updates when setting the display attribute.
Behavior and default changes 3
The row cursor extends to the full width when there is excess space.
Sparkline can now be any height, rather than being limited to 1.
The help panel now checks ancestor widgets for a usable HELP attribute when the focused widget has none.
Fixes and other changes 2
Fixed an exception raised by triple-clicking on the command palette.
Fixed an issue with missing refresh.
textual 640 changes
Breaking changes 3
Promoted the private
_update_styestoupdate_node_styles.Fixed alpha keys with modifiers not being lower cased; bindings such as
ctrl+Ashould now be changed toctrl+shift+a.Simplified command palette system commands to a single word.
New APIs and options 16
A new TextSelected event was added.
Added Rosé Pine themes for developers to use in Textual applications.
Added the Solarized Dark theme for developers to use in Textual applications.
Added Content.blank.
Added Content.fold.
Added strip_control_codes to Content constructors.
Added max_column_width to GridLayout.
Added Screen.get_loading_widget, which defers to App.get_loading_widget.
Exposed
BLANKviatextual.widgets.select.Added the
grid_sizeproperty toGridLayout.Added support for the kitty keyboard protocol on Windows.
Exposed
NoSelectionviatextual.widgets.select.Added the
Widget.FOCUS_ON_CLICKclass variable.Added the
Widget.focus_on_clickmethod.Added
Widget.mount_compose.Added DOMNode.trap_focus.
Performance 2
Fixed unnecessary style updates when popping screens, reducing noticeable pauses when the base screen has many widgets.
An optimization may be noticeable with complex widgets.
Behavior and default changes 3
Updated toggle button styling for consistency; applications using toggle buttons may need snapshot test updates.
Changed the checkbox widget style; snapshot test files may be affected.
Changed Select highlighting to affect only the border, not the label.
Fixes and other changes 16
Fixed broken themes, which may affect the appearance of applications using them.
Fixed the fuzzy matcher showing incorrect matched characters when using a simple substring match.
Fixed the alt modifier on systems without extended Key Protocol.
Fixed the dim filter so it uses the background, which may prevent snapshot failures.
Fixed cursor color display in ANSI mode when ansi_color=True.
Fixed an exception when setting the loading attribute before mount.
Fixed Content.fold.
Fixed anchor with ScrollView widgets.
Fixed flicker with the hover pseudo class.
Fixed
remove_childrennot refreshing layout.Fixed cursor display on wrapped lines.
Fixed the scrollbar not updating after a textarea paste.
Fixed an issue with focus and scrolling.
Fixed type hint aliasing for App under TYPE_CHECKING.
Fixed a circular dependency affecting bazel users.
Fixed text selection with double width characters.