Kovid Goyal
d916ecc4f3
Add a non-interactive mode to the themes kitten
2021-08-08 07:57:14 +05:30
Kovid Goyal
4645e78fa7
Reload config in parent kitty when running the themes kitten
2021-08-07 16:54:47 +05:30
Kovid Goyal
94575a5cf6
Implement modifying of kitty.conf
...
An include for the current theme is added and
all existing color related settings are commented out
so that the theme overlays on kitty's default settings.
2021-08-07 16:34:41 +05:30
Kovid Goyal
a597a8d86b
Make the recent list functional
2021-08-07 15:31:03 +05:30
Kovid Goyal
d01ac17334
Implement placing of selected theme in kitty config dir
2021-08-07 15:04:32 +05:30
Kovid Goyal
2c96727c45
Implement searching in the themes kitten
2021-08-07 11:17:32 +05:30
Kovid Goyal
ca1b2454bd
Fix position output in matcher
2021-08-07 10:45:50 +05:30
Kovid Goyal
064fc17ce3
More work on themes kitten
2021-08-05 21:38:39 +05:30
Kovid Goyal
43ccf9cb41
Draw theme demo
2021-08-05 13:17:16 +05:30
Kovid Goyal
96857a197c
Allow default theme to have no settings
2021-08-05 11:20:01 +05:30
Kovid Goyal
2486cfd45d
Move match() into a more re-useable location
2021-08-05 06:59:24 +05:30
Kovid Goyal
3c3662b032
Limit display length for theme names
2021-08-04 23:18:57 +05:30
Kovid Goyal
c7ccedae95
...
2021-08-04 22:27:48 +05:30
Kovid Goyal
03517459db
Type check set_mode and reset_mode
2021-08-04 22:25:27 +05:30
Kovid Goyal
96326280e5
Use a pending update when drawing the screen
2021-08-04 22:06:05 +05:30
Kovid Goyal
9b7899780b
Implement drawing the list of themes
2021-08-04 21:56:33 +05:30
Kovid Goyal
e01cd057e8
Fix timestamp not being updated in downloaded zip file comment
...
Also clean up tab bar formatting
2021-08-04 20:34:00 +05:30
Kovid Goyal
ba85ca1991
Finish the tab bar for the themes kitten
2021-08-04 19:06:07 +05:30
Kovid Goyal
92a9b71f21
More work on the themes kitten
2021-08-04 18:43:26 +05:30
Kovid Goyal
e50c26d1b9
Allow using a non-toal dict to init Options objects
2021-08-04 17:06:50 +05:30
Kovid Goyal
7090c24321
More work on the themes kitten
2021-08-04 14:13:09 +05:30
Kovid Goyal
8a6b51441c
More work on themes kitten
2021-08-04 07:36:09 +05:30
Kovid Goyal
36670b49a0
Make creation of kitty-themes.zip atomic
2021-08-03 17:47:47 +05:30
Kovid Goyal
a402d848d2
Work on themes kitten UI
2021-08-03 17:32:15 +05:30
Kovid Goyal
be34af4555
Remove inline from .c files
...
It is ignored by compilers and hides unused static functions
2021-08-03 09:11:17 +05:30
Kovid Goyal
5f6cb34f77
placeholder
2021-08-02 21:54:06 +05:30
Kovid Goyal
a99a080c50
More work on theme loading
2021-08-02 21:46:33 +05:30
Kovid Goyal
4a1ca8d582
Move theme parser into kitty code
2021-08-02 18:54:48 +05:30
Kovid Goyal
050eb5660d
Start work on themes kitten
2021-08-02 17:56:31 +05:30
Kovid Goyal
a22404abe6
Better names
2021-07-28 15:44:17 +05:30
Kovid Goyal
7c06313750
A couple more useful aliases
2021-07-28 15:40:48 +05:30
Kovid Goyal
6f265f448d
DRYer
2021-07-28 15:39:21 +05:30
Kovid Goyal
acdc41bd03
Allow sending no payload
2021-07-28 13:39:15 +05:30
Kovid Goyal
bcff2a7fb6
Add aliases to GraphicsCommand to make it more useable
2021-07-28 13:28:21 +05:30
Kovid Goyal
1bd39ff935
Use new URL scheme and define the kitty website centrally as much as possible
2021-07-27 09:03:11 +05:30
Kovid Goyal
ff191c9404
clipboard kitten: fix copies to clipboard not working without the --wait-for-completion option
2021-07-24 07:55:50 +05:30
Kovid Goyal
31da01d4df
Add clipboard_control to query_terminal
2021-07-24 07:26:12 +05:30
Kovid Goyal
8f214c51c0
Get rid of kitty's special OSC 52 protocol
...
A better solution from an ecosystem perspective is to just work with the
original protocol. I have modified kitty's escape parser to special case
OSC 52 handling without changing its max escape code size.
Basically, it works by splitting up OSC 52 escape codes longer than the
max size into a series of partial OSC 52 escape codes. These get
dispatched to the UI layer where it accumulates them upto the 8MB limit
and then sends to clipboard when the partial sequence ends.
See https://github.com/ranger/ranger/issues/1861
2021-07-23 22:18:02 +05:30
Kovid Goyal
075fb2eaf2
DRYer
2021-07-22 17:56:21 +05:30
Kovid Goyal
21a2768ec3
...
2021-07-22 17:31:54 +05:30
Kovid Goyal
554c840d4e
ssh kitten: exit with 255 for unknown arg to match ssh
2021-07-22 17:30:07 +05:30
Kovid Goyal
9c28a1ba31
ssh kitten: handle --
2021-07-22 17:03:47 +05:30
Kovid Goyal
93e3e4d2b1
Also strip \r from marked text
2021-07-19 18:12:29 +05:30
Kovid Goyal
3633049ba5
Forgot to include \r in the url regex
2021-07-19 18:09:00 +05:30
Kovid Goyal
c566ed4643
hints kitten: Detect paths and hashes that appear over multiple lines
...
Fixes #3845
2021-07-19 17:35:48 +05:30
Kovid Goyal
af956f4d84
Fix debug print for long strings
2021-07-19 16:56:10 +05:30
Kovid Goyal
d912d96f00
More docs cleanups
2021-07-19 09:08:55 +05:30
Kovid Goyal
8e5175e56b
Revert "icat: Use scandir for slightly better performance"
...
This reverts commit 2e893690bd288108baff210f710a0d415b030c1c.
scandir is not recursive
2021-07-17 09:51:06 +05:30
Kovid Goyal
2e893690bd
icat: Use scandir for slightly better performance
2021-07-16 21:55:15 +05:30
Kovid Goyal
d052b020fa
Check for dirs when getting mimetypes in a couple more places
2021-07-16 21:49:02 +05:30