Commit graph

110 commits

Author SHA1 Message Date
Will McGugan
27379a8f1a black typing 2021-03-22 20:32:23 +00:00
Will McGugan
84b6f751e0 rich repr 2021-03-22 20:26:01 +00:00
Will McGugan
a998f23084 replace is_control with list of control codes 2021-03-14 11:47:03 +00:00
Will McGugan
2f752afaa9 style optimization 2021-03-01 19:42:00 +00:00
Will McGugan
becaaaed56 black 2021-02-20 11:55:45 +00:00
Will McGugan
a49e595996 fixes 2021-02-20 11:05:21 +00:00
Will McGugan
0f31a17c04
Merge branch 'master' into timestamp_miliseconds 2021-02-15 21:05:40 +00:00
Finn Hughes
d52c2a8fc7 Allow timestamps to include milliseconds
Allow log_time_format to be string or callable e.g:

def time_formatter(timestamp: datetime) -> str:
    milliseconds = int(timestamp.microsecond / 1000.0 + 0.5)
    return f'{timestamp.strftime("%H:%M:%S")}.{milliseconds:03}'
2021-02-15 15:47:27 +00:00
Will McGugan
80e83169ea size in console options 2021-02-14 11:07:16 +00:00
Will McGugan
7edf183bed docs and tests 2021-02-14 09:48:34 +00:00
Will McGugan
d89c29200b skip tests on windows 2021-02-13 19:14:56 +00:00
Will McGugan
06d99d75c2 Test fix 2021-02-13 18:45:40 +00:00
Will McGugan
4b2fa3c35b
Merge branch 'master' into alt-screen 2021-02-13 18:20:19 +00:00
Will McGugan
1b1f2d0631 new layout class 2021-02-12 21:59:35 +00:00
Nathan Page
0d731c5d5a format with black 2021-02-07 13:51:15 -08:00
Will McGugan
122b8131bb live refactor 2021-02-06 11:49:54 +00:00
Will McGugan
6bac7ffb86 no color test 2021-01-09 16:20:17 +00:00
Will McGugan
0c34ddcb67 fix black 2020-12-17 17:39:54 +00:00
Will McGugan
7747025280 console style 2020-12-17 17:05:37 +00:00
Will McGugan
be47b3f899 status tests 2020-12-08 12:57:06 +00:00
Will McGugan
084860050b protocol and abc 2020-11-19 18:22:10 +00:00
Will McGugan
9f2a426ea7 fix input on legacy windows 2020-10-19 16:41:15 +01:00
Matthew Barber
7e9cff8bed test method for render_group fitting 2020-10-16 10:17:34 +01:00
Will McGugan
05ce5105b4 background style, table width calculation 2020-10-15 21:17:03 +01:00
Will McGugan
ba78d0e5b1 tests 2020-10-11 17:38:02 +01:00
Will McGugan
6d56cfad90 console out 2020-10-11 17:33:16 +01:00
Will McGugan
dd4a1d6c3a imports 2020-10-10 18:52:50 +01:00
Will McGugan
436e300573 blackify 2020-10-10 18:39:50 +01:00
Will McGugan
f4b3c8a2ab pager tests 2020-10-10 18:20:23 +01:00
Will McGugan
4310bc8ae8 add tests for style 2020-10-10 18:16:09 +01:00
Will McGugan
2f331818d0 replaced get_safe_box 2020-10-08 18:18:25 +01:00
Will McGugan
0d46163d90 test black 2020-09-30 09:52:32 +01:00
Will McGugan
2c783040e8 Console.bell 2020-09-30 09:34:12 +01:00
Will McGugan
6faa216656 traceback improvements 2020-09-26 15:56:27 +01:00
Will McGugan
0651310a89 capture 2020-09-23 15:53:41 +01:00
Sorin Sbarnea
60fde2a274 Fix broken HTML encoding
Missing to specify encoding can mess some clients which may break
the file encoding or render it incorrectly.

Example: file that loads ok locally, after upload to S3 gets broken
if the encoding is not mentioned in file.

Use of UTF-8 is a very good practice, but we still need to mention
it.
2020-09-19 14:11:43 +01:00
Will McGugan
97aa70c0a4 tests and docs 2020-08-25 10:32:58 +01:00
Will McGugan
bd1a091320 soft wrap 2020-08-24 18:37:36 +01:00
Will McGugan
dbdade899b skip test on windows 2020-07-27 17:33:51 +01:00
Will McGugan
eb2f0d5277 windows test fix 2020-07-27 17:27:50 +01:00
Will McGugan
e5b9fd8b7d 16 color fixes 2020-07-27 17:21:03 +01:00
Will McGugan
f7cd87f4ef prompt docs 2020-07-22 16:18:35 +01:00
Will McGugan
01410131cf enhanced align 2020-07-10 16:11:33 +01:00
Will McGugan
eb05312a7d cut and paste typo 2020-06-20 18:39:00 +01:00
Will McGugan
b5bbbfece9 fix tests on Win 2020-06-20 18:29:01 +01:00
Will McGugan
17011e3338 table tests, optimizations 2020-06-06 15:34:59 +01:00
Will McGugan
8ad293cf5f docs 2020-06-06 13:11:29 +01:00
Will McGugan
65fc2f9d8b change protocol names, optimizations 2020-05-22 10:33:57 +01:00
Will McGugan
8e402e4911 clear method, optimizations, export links 2020-05-20 17:19:55 +01:00
Will McGugan
5538397047 added justify to print 2020-05-17 12:39:51 +01:00