Commit Graph

1375 Commits

Author SHA1 Message Date
Will McGugan
c0ef0e2460 typing fixes 2022-05-29 14:06:36 +01:00
Will McGugan
a0deca38f9 added fraction units and fixed rounding in layout 2022-05-29 13:57:46 +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
Olivier Philippon
73857e88f0 Merge pull request #550 from Textualize/hotfix-css-branch
[AppTest] hotfix for the "css" branch
2022-05-27 16:02:13 +01:00
Olivier Philippon
6a2d0df8a7 [AppTest] hotfix for the "css" branch after commit d45b044888 2022-05-27 15:57:55 +01:00
Will McGugan
d45b044888 simplify 2022-05-27 15:17:16 +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
0483805f17 Update docs/introduction.md
Co-authored-by: Olivier Philippon <olivier@rougemine.com>
2022-05-27 11:50:38 +01:00
Will McGugan
d14a759fda Merge pull request #545 from Textualize/hot-reload-scrollbars
Refresh scrollbars on style changes.
2022-05-27 11:49:52 +01:00
Darren Burns
79bc21f2de Revert stylesheet __main__ block 2022-05-27 11:31:39 +01:00
Darren Burns
71af2ae0a0 Revert file search sandbox example 2022-05-27 11:24:54 +01:00
Darren Burns
8689e24a1e Refresh scrollbars on style changes.
Instantiate text input visible range to (0,0) by default.
Remove debug code.
2022-05-27 11:19:57 +01:00
Will McGugan
04e76e1d2d whitespace 2022-05-27 10:48:51 +01:00
Will McGugan
d3c800e66f reduce screenshot time 2022-05-27 10:47:36 +01:00
Will McGugan
9697ca11dc comments 2022-05-27 10:40:05 +01:00
Will McGugan
9d2d0d8f2b comments 2022-05-27 10:32:59 +01:00
Will McGugan
9411ebcc97 simplify 2022-05-27 10:29:35 +01:00
Will McGugan
c09dd46b86 removed import 2022-05-27 10:28:07 +01:00
Will McGugan
303254f9ac test fixes 2022-05-27 10:24:32 +01:00
Will McGugan
3030557060 refactor of docs 2022-05-26 17:02:30 +01:00
Will McGugan
51f1957f1c comments 2022-05-26 11:16:03 +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
Will McGugan
153567d3b1 debugging app refreshes 2022-05-25 17:16:31 +01:00
Will McGugan
3e4721e307 Merge pull request #528 from Textualize/text-input-cursor-to-click
Text input improvements
2022-05-25 17:12:24 +01:00
Darren Burns
2d7f0b1bc3 Use clock.get_time_no_wait instead of time.monotonic 2022-05-25 16:39:57 +01:00
Olivier Philippon
159d52b0f3 [css] Fix a bug with our now-flexible scrollbars sizes
Also add test cases for it in order to prevent potential regressions on this
2022-05-25 16:33:19 +01:00
Will McGugan
43e9f8add9 docsstrings 2022-05-25 16:20: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
43ce3e8363 [terminal buffering] Address PR feedback: massive simplification of the code 2022-05-25 12:12:50 +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
9e6140af7c [css] Add tests and fix stuff for our new "scrollbar-size" CSS properties 2022-05-25 09:30:46 +01:00
Olivier Philippon
1c76aa7be9 [css] Add "scrollbar-size" CSS properties - seems to work now, in which case we only miss some tests :-) 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
2b485cd4cc Merge pull request #539 from Textualize/option-baskspace
Fix Option+Backspace hanging
2022-05-24 13:33:24 +01:00
Olivier Philippon
7f27e70440 [terminal buffering] Address PR feedback 2022-05-24 13:08:45 +01:00
Will McGugan
1366335dc8 fix option backspace hanging 2022-05-24 12:26:45 +01:00
Will McGugan
79a560f395 forgotten css 2022-05-24 10:39:32 +01:00
Will McGugan
7cd0e89c2c Merge pull request #536 from Textualize/docs-update
docs plugin
2022-05-24 10:37:25 +01:00
Will McGugan
11932fc2bd docstrings 2022-05-24 10:31:44 +01:00
Will McGugan
8daf832c4c more general app 2022-05-24 10:26:20 +01:00
Darren Burns
858e718dde Ensure enough space for double-width on resize 2022-05-24 10:12:32 +01:00
Will McGugan
c1c4ce02ff move sys.path 2022-05-24 10:01:09 +01:00
Will McGugan
7fd9aa27b5 help 2022-05-24 09:54:42 +01:00
Olivier Philippon
3486dc08b5 [terminal buffering] Remove the management of the iTerm2-specific buffering protocol
Since iTerm2 also supports the "mode 2026", we can just rely on that one ✌
2022-05-24 09:45:19 +01:00
Will McGugan
e6a9a37f80 docstrings and fixes 2022-05-24 09:30:10 +01:00