Commit graph

67 commits

Author SHA1 Message Date
Darren Burns
0dc3985ea8
Fix wrapping issue 2022-05-25 16:25:10 +01:00
Darren Burns
34a0c50421
Add some CJK wrapping test cases 2022-05-25 12:59:45 +01:00
Darren Burns
f70414a783
Remove duplicate test 2022-05-25 12:50:06 +01:00
Darren Burns
ee60bc13ba
Fix text wrapping edge case 2022-05-25 12:43:48 +01:00
Darren Burns
9174059949
Add xfail test for text wrapping issue 2022-05-25 10:36:36 +01:00
Darren Burns
44d32b2b4a
Add test to catch wrapping edgecase 2022-05-24 17:18:54 +01:00
Darren Burns
7e96597f65
Rename test 2022-05-24 17:06:24 +01:00
Darren Burns
68faf4f344
Add test case to ensure wrapping when length greater than available width 2022-05-24 17:05:22 +01:00
Darren Burns
7975c563e1
Fix numerous typos in tests 2022-05-24 13:26:40 +01:00
Will McGugan
9faafa0ab1 fix for ansi issue 2022-03-26 14:40:20 +00:00
Will McGugan
f7aa3fb78e fix for ansi issue 2022-03-26 12:59:20 +00:00
Wasi Master
f06da9b94c
Format with black 2022-03-22 20:17:21 +06:00
Wasi Master
fc292780aa
Add test for the end parameter 2022-03-22 20:13:30 +06:00
Will McGugan
1c543b746d tests for markup property 2021-12-11 16:41:19 +00:00
Will McGugan
32eb5465ea from_ansi method 2021-11-28 16:22:51 +00:00
Nicolas Simonds
62ead7eded Add a Text.from_ansi helper method
Add a simple little helper to run `AnsiDecoder.decode_line` over
"pre-cooked" inputs.

Fixes issue: #1670
2021-11-17 13:25:39 -08:00
Will McGugan
ff43bae4eb .on methods and name changes 2021-07-28 09:10:23 +01:00
Will McGugan
c323d3a6ef test new meta methods 2021-07-19 21:34:41 +01:00
Will McGugan
3c08809b9e test fixes 2021-05-06 15:13:40 +01:00
Will McGugan
be5e9dca2d rich measure 2021-03-25 21:08:36 +00:00
Will McGugan
2f752afaa9 style optimization 2021-03-01 19:42:00 +00:00
Will McGugan
122b8131bb live refactor 2021-02-06 11:49:54 +00:00
Will McGugan
c1055cecda coverage 2021-01-23 14:47:35 +00:00
Will McGugan
449c1fbb29 optimizations for traceback 2021-01-23 14:30:54 +00:00
Will McGugan
c12ca86b7b formatting 2020-12-10 17:11:01 +00:00
Will McGugan
be47b3f899 status tests 2020-12-08 12:57:06 +00:00
Will McGugan
396adbce32 mypy and formatting 2020-10-22 21:54:45 +01:00
Will McGugan
be1b14d42b indentaion guides 2020-10-22 21:17:03 +01:00
Will McGugan
22bdafdd3e optimizations 2020-09-18 11:37:37 +01:00
Will McGugan
60e813379b new black 2020-08-28 12:56:18 +01:00
Will McGugan
ce82bb67bb overflow ignore 2020-08-12 21:13:39 +01:00
Will McGugan
1c270a46e8 added crop option 2020-08-12 19:00:51 +01:00
Will McGugan
5a9f0dcc36 append text test 2020-08-08 18:22:38 +01:00
Will McGugan
70d43d7c92 prompt fix 2020-07-23 16:49:07 +01:00
Will McGugan
57f6215596 adde Text.styled 2020-07-22 17:11:06 +01:00
Hedy Li
670ebe0ec5 add test for Text.rstrip_end() 2020-07-15 16:50:13 +08:00
Will McGugan
9f165b5b06 panel title 2020-07-12 16:17:36 +01:00
Will McGugan
1e05d9316b text fixes 2020-07-03 14:07:31 +01:00
Will McGugan
96899fd400 Improve path highlight 2020-06-26 11:29:05 +01:00
Will McGugan
9fc6e67157 enforce keyword args 2020-06-06 16:53:05 +01:00
Will McGugan
47bb80ff67 overflow 2020-06-06 12:08:07 +01:00
Will McGugan
2c9e206021 overflow 2020-06-04 16:49:39 +01:00
Will McGugan
65fc2f9d8b change protocol names, optimizations 2020-05-22 10:33:57 +01:00
Will McGugan
b0e496c794 renamed Text.text to Text.plain 2020-05-19 15:37:51 +01:00
Will McGugan
ccdb2d8148 strip control codes 2020-05-12 11:15:59 +01:00
Will McGugan
c483179c4f hyperlinks in markdown 2020-05-10 12:22:22 +01:00
Will McGugan
3617dc4fa0 fixes, markdown, docs 2020-05-08 13:36:12 +01:00
Will McGugan
a9fb23aa27 finish text tests 2020-04-27 16:00:11 +01:00
queragion2726
28a038734e tests for Text 2020-04-27 06:42:24 +09:00
Will McGugan
35096145f1 fix for line wrapping, added switch for word wrap 2020-03-31 14:25:49 +01:00