203 Commits

Author SHA1 Message Date
pagedown
cafc3973ec
mouse_demo: Add mouse scroll wheel buttons 2022-02-13 16:45:48 +08:00
pagedown
436a57a61e
mouse_demo: Fix mouse extra button bit mask 2022-02-13 16:36:51 +08:00
pagedown
4a3ed62809
Refactor: More f-string for kittens 2022-01-29 20:23:34 +08:00
Kovid Goyal
08f159c2ba
TypeCheck underline style names 2022-01-22 12:41:26 +05:30
pagedown
7ef73babdd
Use fixed values for unchanging dict to replace split and for loops 2022-01-22 11:36:04 +08:00
pagedown
a47aca6fdb
Add new dotted and dashed underline enum
Also use "straight" for single underline, consistent with the protocol
extension document.
2022-01-22 11:00:49 +08:00
Kovid Goyal
4ce6d718c9
icat kitten: Add options to mirror images and remove their transparency before displaying them
Fixes #4513
2022-01-14 22:02:35 +05:30
Kovid Goyal
9aefcfe56f
Make --hold a bit more robust 2022-01-05 08:14:22 +05:30
Kovid Goyal
90f2ba474c
Fix icat for GIF images broken 2021-12-20 17:54:55 +05:30
pagedown
02a7316342
Use the unified PATH search function 2021-12-09 11:32:30 +08:00
Kovid Goyal
32768e7939
Unify the PATH searching algorithm for launch and running children 2021-12-08 20:10:34 +05:30
Kovid Goyal
715925795f
Ignore errors in various finalizers during exit
This was needed for tui loop to exit cleanly when terminal i/o breaks
2021-11-17 15:43:26 +05:30
Kovid Goyal
17a48f6b9f
TUI: exit cleanly when I/O to terminal fails 2021-11-17 15:33:23 +05:30
Kovid Goyal
5c7a1d1b05
Fix typo 2021-11-17 15:19:17 +05:30
Kovid Goyal
1a92f99831
... 2021-11-17 13:55:33 +05:30
Kovid Goyal
14142c320a
fix incorrect repeat counts 2021-11-17 13:24:35 +05:30
Kovid Goyal
727260e69b
... 2021-11-17 13:16:50 +05:30
Kovid Goyal
2443dc135c
Use a faster implementation of the Color type
Now implemented in C
2021-10-28 11:15:13 +05:30
Kovid Goyal
60472fcee3
Add more type annotations 2021-10-27 14:00:29 +05:30
Kovid Goyal
4494ddd8ff
mypy: Turn on return value checks
Its a shame GvR is married to "return None"
https://github.com/python/mypy/issues/7511
2021-10-26 22:39:14 +05:30
Kovid Goyal
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
Kovid Goyal
ed5accd702
Add some common readline bindings to the line editor 2021-10-14 14:29:44 +05:30
Kovid Goyal
e13c34c2b8
Use a bar cursor for LineEdit 2021-10-12 09:13:06 +05:30
Kovid Goyal
5cafe198bf
icat: Fix EXIF orientation not taken into account when resizing 2021-09-30 08:45:41 +05:30
Kovid Goyal
4ce2690bd2
DRYer 2021-09-30 08:39:27 +05:30
Kovid Goyal
44bcbc4823
Make it easier to handle simple click events 2021-09-28 20:12:55 +05:30
Kovid Goyal
343eb56cdf
Fix import of MouseEvent 2021-09-28 15:46:35 +05:30
Kovid Goyal
066dfc71aa
A kitten to demo mouse handling 2021-09-28 13:48:56 +05:30
Kovid Goyal
3c742a0037
Use pixel mode for mouse tracking in kittens 2021-09-28 12:46:41 +05:30
Kovid Goyal
f3447d187d
Allow handlers to ask for mouse events 2021-09-28 09:32:53 +05:30
Kovid Goyal
7e17ed21ce
Use the atomic update decorator everywhere 2021-09-27 12:00:33 +05:30
Kovid Goyal
b1f4b2d8ed
Use pending updates for unicode input kitten
Avoids all possibility of flicker
2021-09-27 11:33:21 +05:30
Kovid Goyal
259ca4a11e
Speed up parsing of file transfer OSC codes
Avoid roundtrips between unicode and bytes objects
2021-09-25 14:05:21 +05:30
Kovid Goyal
e8e7ad3b75
DRYer 2021-09-16 18:34:51 +05:30
Kovid Goyal
e9d648d37c
Handle exceptions in the tui context managers 2021-09-16 18:28:29 +05:30
Kovid Goyal
eaeece8177
Use the repeat escape code for progress bar rendering 2021-09-16 17:55:22 +05:30
Kovid Goyal
33a6abfc07
More work on the transfer kitten 2021-09-16 07:39:07 +05:30
Kovid Goyal
5c1dd69963
forgot this in the last commit 2021-09-15 14:03:01 +05:30
Kovid Goyal
c08dc64581
spinner and progress bar for kittens UI 2021-09-15 13:39:39 +05:30
Kovid Goyal
4c25ceff29
Remove duplicated reset of mouse_utf8_mode 2021-09-14 20:22:28 +05:30
Kovid Goyal
d726eb354d
Play with human size some more 2021-09-12 13:41:51 +05:30
Kovid Goyal
1136c64d49
Make human_size() a little nicer 2021-09-12 13:28:07 +05:30
Kovid Goyal
3eee442f28
Output total transfer size when confirming 2021-09-12 12:41:48 +05:30
Kovid Goyal
0d89eb2c40
When not using alternate screen dont restore cursor position to what it was before initialization 2021-09-10 17:26:01 +05:30
Kovid Goyal
f9c99a61d4
More work on file transfer 2021-09-09 12:59:31 +05:30
Kovid Goyal
2178c8e4af
... 2021-09-09 08:43:44 +05:30
Kovid Goyal
8aacf30f19
Centralize definition of file transfer OSC code 2021-09-08 13:43:59 +05:30
Kovid Goyal
34ec3eac44
icat kitten: Fix display of JPEG images that are rotated via EXIF data and larger than available screen size
Fixes #3949
2021-08-19 09:08:35 +05:30
Kovid Goyal
43ccf9cb41
Draw theme demo 2021-08-05 13:17:16 +05:30
Kovid Goyal
c7ccedae95
... 2021-08-04 22:27:48 +05:30