Skip to content

Commit d5eaddb

Browse files
committed
words
1 parent 719e709 commit d5eaddb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/blog/posts/release1.0.0.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ I've had the fortune of being able to work fulltime on a FOSS project for the la
1717
[![Textual Demo](../images/textual-demo.svg)](https://github.com/textualize/textual-demo)
1818

1919

20-
Textual has been a constant source of programming challenges, often frustrating but never boring.
21-
The challenges arise because the terminal "specification" says nothing about how to build a modern User Interface on top of it.
20+
Textual has been a constant source of programming challenges.
21+
Often frustrating but never boring, the challenges arise because the terminal "specification" says nothing about how to build a modern User Interface.
2222
The building blocks are there.
2323
After some effort you can move the cursor, write colored text, read keys and mouse coordinates, but that's about it.
2424
Everything else we had to build from scratch: from the most basic [button](https://textual.textualize.io/widget_gallery/#button) to a syntax highlighted [TextArea](https://textual.textualize.io/widget_gallery/#textarea), and everything along the way.
2525

26-
I wanted to write-up some of the more interesting solutions we came up with.
26+
I wanted to write-up some of the more interesting solutions we came up with for a while.
2727
The 1.0 milestone we just passed makes this the perfect time.
2828

2929
If you haven't followed along with Textual's development, here is a demo of what it can do.

src/textual/widget.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3733,12 +3733,12 @@ def _scroll_update(self, virtual_size: Size) -> None:
37333733
height - self.scrollbar_size_horizontal
37343734
)
37353735
if self.vertical_scrollbar._repaint_required:
3736-
self.call_later(self.vertical_scrollbar.refresh)
3736+
self.vertical_scrollbar.refresh()
37373737
if self.show_horizontal_scrollbar:
37383738
self.horizontal_scrollbar.window_virtual_size = virtual_size.width
37393739
self.horizontal_scrollbar.window_size = width - self.scrollbar_size_vertical
37403740
if self.horizontal_scrollbar._repaint_required:
3741-
self.call_later(self.horizontal_scrollbar.refresh)
3741+
self.horizontal_scrollbar.refresh()
37423742

37433743
self.scroll_x = self.validate_scroll_x(self.scroll_x)
37443744
self.scroll_y = self.validate_scroll_y(self.scroll_y)

0 commit comments

Comments
 (0)