Kovid Goyal
928a4db817
Implement delegate based completion fof the ssh and hyperlinked_grep kittens
2022-11-14 15:41:59 +05:30
Kovid Goyal
6afbdbe94f
Use correct kitty config in prewarmed process
2022-06-07 12:53:39 +05:30
pagedown
510022c3c1
Docs: Improve the documentation for kittens
...
Add more text roles and links.
Add an example that broadcasts only to other windows in the current tab.
Initial capitalization of the key names in the kbd text role.
Add Python type hints for custom kittens.
Note about hyperlink support for ls on macOS.
Add description text for show_key.
2022-04-27 16:14:54 +08:00
Kovid Goyal
6ef83a09d3
Avoid clearing the screen when exiting a kitten as its not needed any more
2022-03-23 16:06:38 +05:30
Kovid Goyal
6dc1617429
Avoid flicker when starting kittens such as the hints kitten
...
Fixes #4674
2022-03-23 15:55:11 +05:30
Kovid Goyal
1be1864657
Allow sending more than a screenful of output from a kitten
...
Also Fixes #4866
2022-03-23 14:33:53 +05:30
Kovid Goyal
f421666a27
Nicer error message when importing a kitten fails
2022-03-02 08:26:06 +05:30
Kovid Goyal
2c6d888b3d
...
2021-12-10 07:36:09 +05:30
pagedown
98e44a8907
Unify resolution of absolute paths or config dir paths
2021-12-09 20:43:07 +08:00
Kovid Goyal
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6
2021-10-21 12:43:55 +05:30
Kovid Goyal
7f2ce045ab
Handle deprecation of importlib.resources APIs
2021-10-19 09:14:58 +05:30
Kovid Goyal
fb0b94eaa1
...
2021-09-03 09:06:03 +05:30
Kovid Goyal
03517459db
Type check set_mode and reset_mode
2021-08-04 22:25:27 +05:30
Kovid Goyal
3dee3aba59
Fix #3794
2021-07-04 18:05:54 +05:30
Kovid Goyal
d8d5a8fada
More work on completion for the SSH kitten
2021-06-25 17:50:08 +05:30
Kovid Goyal
6e77345263
Ensure sys.path is preserved even if there are errors importing a custom kitten
2021-06-21 04:35:10 +05:30
Kovid Goyal
9432f86e43
Remove no longer needed type: ignore
...
Looks like the type signature for runpy.run_path has finally been fixed
2021-06-09 08:30:22 +05:30
Kovid Goyal
46b3f71b8f
Start work on porting docs generation
2021-05-31 17:40:49 +05:30
Kovid Goyal
dbc1ade5a9
Fallback to importlib_resources on python 3.6
2021-02-19 18:02:15 +05:30
Kovid Goyal
4cf73204a2
Forgot to exclude modules
2021-02-16 13:57:23 +05:30
Kovid Goyal
55e7f69768
Use importlib.resources to enumerate kitten names
2021-02-16 13:48:02 +05:30
Kovid Goyal
fe07306ff1
Use a nicer decorator for functions that only need to be run once
2021-02-05 10:40:52 +05:30
Kovid Goyal
714d64c417
Get type checking working with mypy 0.80
...
Add workaround for https://github.com/python/typeshed/issues/4964
2021-01-23 09:25:31 +05:30
Kovid Goyal
149ae2866a
more typing work
2020-03-12 08:10:51 +05:30
Kovid Goyal
5bdb405635
More typing work
2020-03-09 08:56:02 +05:30
Kovid Goyal
77e9460eea
Make mypy a bit stricter
2020-03-05 19:57:28 +05:30
Kovid Goyal
2e99259589
Make it possible to run custom kittens via kitty +kitten
...
Should help reduce confusion about how kittens work. Fixes #1712
2019-06-14 09:05:03 +05:30
Kovid Goyal
83e6b75872
More helpful error message if user tries to run a custom kitten via kitty +kitten
2019-06-14 08:23:25 +05:30
Luflosi
a792c94ccf
Use python3 shebang for all python scripts
...
Fixes #1624 .
Use python3 shebang for all python scripts as python still defaults to python2 on many systems.
2019-05-20 14:44:24 +02:00
Kovid Goyal
787100a4dc
Modify the kittens sub-system to allow creating custom kittens without any user interface.
...
See #870
2018-10-12 18:09:37 +05:30
Kovid Goyal
57871e1983
Restore sys.path after importing custom kitten
2018-07-25 09:51:04 +05:30
Kovid Goyal
5485436ea1
...
2018-07-24 10:18:37 +05:30
Kovid Goyal
0c88e11cd7
More useful exception when unexpected output encountered from a kitten
2018-06-27 14:13:40 +05:30
Kovid Goyal
fc74d22724
Nicer error message when specifying a non-existent kitten
2018-06-09 13:49:33 +05:30
Kovid Goyal
ca41e642fb
Nicer error message when no kitten name is specified
2018-06-09 13:47:49 +05:30
Kovid Goyal
d39cf5d702
Get rid of the default diff.conf
2018-06-05 10:44:18 +05:30
Kovid Goyal
9a615efa83
Document CLI of panel kitten
2018-06-02 12:24:21 +05:30
Kovid Goyal
ec0edd6f45
A new kitten to draw dock panels on X11 desktops showing the output from running arbitrary terminal programs
2018-06-02 11:27:01 +05:30
Kovid Goyal
2a5ef628fa
DRYer
2018-05-23 13:25:46 +05:30
Kovid Goyal
fb57653665
Make debugging kittens a little nicer
...
Now debug() writes to the stderr of the parent kitty process instead of
a temp file.
2018-05-19 16:32:08 +05:30
Kovid Goyal
2a713cab60
kittens should specify their own required input type
...
It is DRYer. Also replace the run_kitten function with just kitten that
takes no type of input argument. Backward compat for run_kitten is
maintained.
2018-05-18 22:55:42 +05:30
Kovid Goyal
d61086907d
Add a global debug function to the kittens
2018-05-06 13:48:40 +05:30
Kovid Goyal
92ca8ab9cc
Fix #482
2018-04-23 07:19:40 +05:30
Kovid Goyal
808750a76a
Rename url_hints to just hints
2018-04-12 09:23:48 +05:30
Kovid Goyal
56dd442e2c
Flush output streams on kitten end
2018-04-11 20:24:39 +05:30
Kovid Goyal
2cf8c6aea7
Refactor the kittens framework
...
Make it possible to perform arbitrary actions with the kittens output
and also allow running kittens from standalone python files.
2018-04-11 13:09:31 +05:30