Textual is a Rapid Application Development framework for Python.
Build sophisticated user interfaces with a simple Python API. Run
2025-02-23 18:23:06 by Thomas Klausner | Files touched by this commit (3) |  |
Log message:
py-textual: update to 2.1.1.
2.1.1
The interrupted release
Mostly fixes here. There is a small change to behavior around scroll_end.
2.1.0
The pointed release
Mostly fixes in this release, and a small feature.
The mouse event adds pointer_* attributes which contain the pointer
coordinates in pixel resolution (if supported by your terminal).
[2.0.4] - 2025-02-17
Fixed
Fixed smooth scrolling breaking mouse support in VSCode (and probably \
others) #5549
[2.0.3] - 2025-02-16
Fixed
Fixed traceback from OptionList in Command Palette #5544
[2.0.2] - 2025-02-16
Fixed
Fixed OptionList.add_options exhausting iterator #5540
Fixed screen not refreshing after pop #5543
2.0.1
Fixed
Fixed escape tags in Content markup #5536
2.0.0
The Smooooth release
This is a big release!
Arbitrary text selection. You can now select text, and hit ctrl+c
to copy it to the clipboard. This works just about everywhere,
although there a re a few widgets were it isn't yet implemented.
- Smoother scrolling, for Kitty, Ghostty, and some other terminals.
- New content system
- Many fixes, see the full changelog below...
Breaking change: Strings returned from render() and other places
will now be interpreted with Content.from_markup, rather than
Rich.from_markup. This may result in slightly different colors,
and emoji codes (like ":smiley:") will no longer be processed
automatically. If you want to restore the old behavior you can
return Rich.from_markup("Your output here") rather than string
literal.
|
2024-12-27 10:30:53 by Thomas Klausner | Files touched by this commit (2) |  |
Log message:
py-textual: update to 1.0.0.
Added
Added App.clipboard #5352
Added standard cut/copy/paste (ctrl+x, ctrl+c, ctrl+v) bindings to Input / \
TextArea #5352 & #5374
Added system boolean to Binding, which hides the binding from the help panel \
#5352
Added support for double/triple/etc clicks via chain attribute on Click \
events #5369
Added times parameter to Pilot.click method, for simulating rapid clicks #5369
Text can now be select using mouse or keyboard in the Input widget #5340
Changed
Breaking change: Change default quit key to ctrl+q #5352
The command palette will now select the top item automatically #5361
ctrl+shift+k now deletes the current line in TextArea, and ctrl+x will cut
the selection if there is one, otherwise it will cut the current line #5374
Implemented a better matching algorithm for the command palette #5365
Fixed
Fixed issue with alignment in auto containers #5360
|
2024-12-06 23:06:50 by Thomas Klausner | Files touched by this commit (3) |  |
Log message:
py-textual: update to 0.89.1.
Three weeks of heavy development.
|
2024-11-24 11:35:40 by Thomas Klausner | Files touched by this commit (2) |  |
Log message:
py-textual: update to 0.86.3.
0.86.3
Changed
Updated the tutorial (text and code) #5257
Fixed
Fixed a glitch with the scrollbar that occurs when you hold a to add \
stopwatches in the tutorial app #5257
[0.86.2] - 2024-11-18
Fixed
Fixed visibility glitch for widgets with an offset #5253
Fixed theme variables being unavailable in code until refresh_css was called \
#5254
|
2024-11-17 11:02:26 by Thomas Klausner | Files touched by this commit (3) |  |
Log message:
py-textual: update to 0.86.1.
0.86.1
Tweaks to demo
0.86.0
Adds an entirely new theming system and an updated demo
The new theming system standardizes the look-and-feel of widgets.
This should mean they will look pretty when used in combination,
and you will need less tweaking of your UI. If your app already
has a customized look and feel, you may need to make a few style
changes.
|
2024-11-04 19:14:23 by Thomas Klausner | Files touched by this commit (2) |  |
Log message:
py-textual: update to 0.85.2.
[0.85.2] - 2024-11-02
Fixed broken focus-within #5190
|
2024-10-19 13:34:15 by Thomas Klausner | Files touched by this commit (3) |  |
Log message:
py-textual: update to 0.83.0.
[0.83.0] - 2024-10-10
Added
Added support for A-F to Digits widget #5094
Added Region.constrain #5097
Changed
Screen.ALLOW_IN_MAXIMIZED_VIEW will now default to \
App.ALLOW_IN_MAXIMIZED_VIEW #5088
Widgets matching .-textual-system will now be included in the maximize view \
by default #5088
Digits are now thin by default, style with text-style: bold to get bold \
digits #5094
Made Widget.absolute_offset public #5097
Tooltips are now displayed directly below the mouse cursor #5097
Region.inflect will now assume that margins overlap #5097
Pilot.click and friends will now accept a widget, in addition to a selector #5095
[0.82.0] - 2024-10-03
Fixed
Fixed issue with screen not updating when auto_refresh was enabled #5063
Fixed issues regarding loading indicator #5079
Fixed issues with inspecting the lazy loaded widgets module #5080
Added
Added DOMNode.is_on_screen property #5063
Added support for keymaps (user configurable key bindings) #5038
Added descriptions to bindings for all internal widgets, and updated casing \
to be consistent #5062
Changed
Breaking change: Widget.set_loading no longer return an awaitable #5079
[0.81.0] - 2024-09-25
Added
Added x_axis and y_axis parameters to Widget.scroll_to_region #5047
Added Tree.move_cursor_to_line #5052
Changed
Tree will no longer scroll the X axis when moving the cursor #5047
DirectoryTree will no longer select the first node #5052
Fixed
Fixed widgets occasionally not getting Resize events #5048
Fixed tree regression #5052
Fixed glitch with single line inline widget #5054
[0.80.1] - 2024-09-24
Fixed
Fixed crash when exiting the app prematurely #5039
Fixed exception constructing TextArea outside of App #5045
[0.80.0] - 2024-09-23
Added
Added MaskedInput widget #4783
Input validation for floats and integers accept embedded underscores, e.g., \
"1_234_567" is valid. #4784
Support for "none" value added to dock, hatch and split styles #4982
Support for "none" added to box and border style properties (e.g \
widget.style.border = "none") #4982
Docstrings added to most style properties #4982
Added ansi_color switch to App to permit ANSI (themed) colors #5000
Added :ansi pseudo class #5000
Added -ansi-scrollbar style to widgets #5000
Added App.INLINE_PADDING to define the number of spaces above inline apps #5000
Added nocolor psuedoclass when NO_COLOR env var is set
BINDING_GROUP_TITLE now defaults to None #5023
Added TreeNode.siblings, TreeNode.next_sibling, TreeNode.previous_sibling, \
TreeNode.is_collapsed #5023
Added additional bindings to Tree widget #5023
Added Tree.center_scroll #5023
Added Tree.unselect #5023
Changed
Input validation for integers no longer accepts scientific notation like \
'1.5e2'; must be castable to int. #4784
Default scrollbar-size-vertical changed to 2 in inline styles to match \
Widget default CSS (unlikely to affect users) #4982
Removed border-right from Toast #4984
Some fixes in RichLog result in slightly different semantics, see docstrings \
for details #4978
Changed how scrollbars are rendered (will have no visual effect, but will \
break snapshot tests) #5000
Added enabled switch to filters (mostly used internally) #5000
BINDING_GROUP_TITLE now defaults to None #5023
Breaking change: Changed how scrollbars are rendered so they work in ansi \
mode (will break snapshots) #5023
Fixed
Input validation of floats no longer accepts NaN (not a number). #4784
Fixed issues with screenshots by simplifying segments only for snapshot \
tests #4929
Fixed RichLog.write not respecting width parameter #4978
Fixed RichLog writing at wrong width when write occurs before width is known \
(e.g. in compose or on_mount) #4978
Fixed RichLog.write incorrectly shrinking width to RichLog.min_width when \
shrink=True (now shrinks to fit content area instead) #4978
Fixed flicker when setting dark reactive on startup #4989
Fixed command palette not sorting search results by their match score #4994
Fixed DataTable cached height issue on re-populating the table when using \
auto-height rows #4992
Fixed inline app output being cleared when inline_no_clear=True #5019
|
2024-09-13 11:46:07 by Thomas Klausner | Files touched by this commit (3) |  |
Log message:
py-textual: update to 0.79.1.
0.79.1
Fixed broken updates when non active screen changes #4957
0.79.0
This release optimizes query_one and changes the semantics a little.
query_one will no longer raise a TooManyMatches if there is more
than a single widget matching the selector. For the old behavior,
you can use the new query_exactly_one method.
0.78.0
This release optimizes query_one and changes the semantics a little.
query_one will no longer raise a TooManyMatches if there is more
than a single widget matching the selector. For the old behavior,
you can use the new query_exactly_one method.
|