Commit Graph

323 Commits

Author SHA1 Message Date
Will McGugan
a9be6aa32a Merge pull request #560 from Textualize/scroll-view
Scroll view and DataTable Widget
2022-06-21 14:41:09 +01:00
Will McGugan
9479dfb489 remove sandbox script 2022-06-21 13:08:38 +01:00
Will McGugan
306cf22d5c add space to keys 2022-06-21 11:44:46 +01:00
Will McGugan
1ae2855f1f broken merge 2022-06-21 11:17:20 +01:00
Will McGugan
74a93606ec remove broken code 2022-06-21 11:16:50 +01:00
Will McGugan
069fde528e restore accent color 2022-06-21 10:15:22 +01:00
Will McGugan
9f62e92803 merge 2022-06-21 10:13:11 +01:00
Will McGugan
a15e57ec74 Safer locking 2022-06-21 09:31:59 +01:00
Will McGugan
bb1449315e render cache 2022-06-18 18:38:50 +01:00
Darren Burns
91a31581ae Remove some debugging stuff from sandbox/buttons 2022-06-17 15:35:20 +01:00
Darren Burns
8d6a4adff8 Add success/warning/error button variants 2022-06-17 15:35:20 +01:00
Darren Burns
a97a2c6bfd Add support for HSL and HSLA 2022-06-17 15:33:12 +01:00
darrenburns
566eb837b7 Scrolling nested containers (#538)
* Scrolling nested containers

* Return boolean if any scrolling occurred in any descendant in scroll_to_widget
2022-06-17 15:33:10 +01:00
Will McGugan
a5d46d6adc exit action 2022-06-17 14:08:17 +01:00
Will McGugan
b0079fce56 optimized line rendering and updated render_lines API 2022-06-15 17:13:56 +01:00
Will McGugan
6ce429ef9a data table columns 2022-06-13 17:51:28 +01:00
Darren Burns
f60455677a Remove some debugging stuff from sandbox/buttons 2022-06-10 15:06:54 +01:00
Darren Burns
7f9069f457 Add success/warning/error button variants 2022-06-10 15:05:48 +01:00
Will McGugan
de22f9e653 Merge pull request #566 from Textualize/hsl
Support HSL colour space, allow spaces in RGB/HSL values
2022-06-08 16:25:15 +01:00
darrenburns
7366421635 Scrolling nested containers (#538)
* Scrolling nested containers

* Return boolean if any scrolling occurred in any descendant in scroll_to_widget
2022-06-08 16:20:53 +01:00
Will McGugan
b9e1022f6e fix test 2022-06-08 12:04:18 +01:00
Will McGugan
0ff8c7e47c compositor and cache optimizations 2022-06-08 11:46:53 +01:00
Darren Burns
01ef1dc7f0 Add support for HSL and HSLA 2022-06-07 15:23:24 +01:00
Will McGugan
e563cd13d0 optimizer wins 2022-06-06 15:25:54 +01:00
Will McGugan
d69205d59f fix scrollbar not updating after auto size change 2022-06-06 11:42:24 +01:00
Will McGugan
51e29c5a10 fix reactive 2022-06-04 09:33:08 +01:00
Will McGugan
39dde3c3cb CSS inheritance 2022-06-02 17:20:03 +01:00
Will McGugan
f8fd3ab66d simplify scrolbar 2022-05-29 18:06:17 +01:00
darrenburns
eb3b21f590 Widget focus keybindings (#546)
* Support binding widget focus to keypress, fix focus-within

* Update src/textual/app.py

Co-authored-by: Olivier Philippon <olivier@rougemine.com>

Co-authored-by: Olivier Philippon <olivier@rougemine.com>
2022-05-27 16:32:09 +01:00
darrenburns
aa4caf7857 Swap ControlShiftUp & ControlShiftDown escape codes. Fix sandbox example. (#549) 2022-05-27 16:23:01 +01:00
Will McGugan
b806779267 Merge pull request #540 from Textualize/docs-structure
Docs Refresh
2022-05-27 12:01:25 +01:00
Will McGugan
5c10f944ed fix for simple case 2022-05-26 11:15:44 +01:00
Will McGugan
a65b538af0 Merge pull request #533 from Textualize/add-terminal-mode2026-support
[terminal buffering] Add support for the "mode 2026" - aka SynchronizedOutput
2022-05-25 17:28:01 +01:00
Will McGugan
2018405e71 Merge pull request #529 from Textualize/css-add-scrollbar-size
[css] add `scrollbar-size` properties
2022-05-25 17:26:04 +01:00
Olivier Philippon
2462a0e402 [css] Add missing occurrences of the now-flexible scrollbars thicknesses in the Widget class 2022-05-25 15:47:26 +01:00
Will McGugan
6bfc26c1ec more docs 2022-05-25 15:36:58 +01:00
Darren Burns
b0e197f446 Merge branch 'css' of github.com:Textualize/textual into text-input-cursor-to-click 2022-05-25 14:01:11 +01:00
Olivier Philippon
a55b122967 [css] Address PR feedback for our new "scrollbar-size" CSS properties 2022-05-25 09:30:46 +01:00
Olivier Philippon
ee30b54828 [css] Add "scrollbar-size" CSS properties - first step 2022-05-25 09:30:46 +01:00
Will McGugan
8daf832c4c more general app 2022-05-24 10:26:20 +01:00
Olivier Philippon
d14659c1a3 [terminal buffering] Add support for the "mode 2026"
That task is definitely way more complicated that it seemed to be 😅
2022-05-24 09:20:56 +01:00
Will McGugan
689c759181 Merge branch 'css' into docs-update 2022-05-23 18:09:43 +01:00
Will McGugan
c212fd501f Merge pull request #507 from Textualize/try-mocking-time-during-integration-tests
Mock time during integration tests
2022-05-23 17:09:57 +01:00
Will McGugan
d1235e0d97 docs plugin 2022-05-23 15:47:55 +01:00
Will McGugan
af6a9a850d compensated in box mode for scrollbars 2022-05-22 08:59:36 +01:00
Darren Burns
ff5eaa0680 Merge branch 'css' of github.com:Textualize/textual into text-input-cursor-to-click 2022-05-20 16:37:44 +01:00
Darren Burns
4a4841d0db Suggestion autocomplete function now returns full suggestion, Textual calculates suffix 2022-05-20 15:29:24 +01:00
Olivier Philippon
4549f2d478 [clock] Add a centralised Clock, responsible for anything related to time
This makes time quite easier to mock during integration tests :-)
2022-05-20 14:51:47 +01:00
Will McGugan
cb1289ff97 Fix escape key 2022-05-20 14:28:03 +01:00
Darren Burns
4c03fb0348 Simplify file search sandbox 2022-05-20 14:26:51 +01:00