Commit graph

25 commits

Author SHA1 Message Date
Kovid Goyal
62580c855b
Make mypy 1.16 happy 2025-05-30 10:06:38 +05:30
Kovid Goyal
da1626090a
Update codebase to Python 3.10 using pyupgrade 2025-02-03 10:56:50 +05:30
Kovid Goyal
9a6e7e4cdf
... 2025-01-07 11:55:07 +05:30
Kovid Goyal
d7207edf2b
DRYer 2025-01-07 11:54:06 +05:30
Kovid Goyal
42e0f98a27
... 2025-01-07 10:36:59 +05:30
Kovid Goyal
69aead6d3d
query_terminal: Add support for reporting name of the OS the terminal emulator is running on
Fixes #8201
2025-01-07 08:21:53 +05:30
Kovid Goyal
879effc6f5
Allow querying background opacity via XTGETTCAP 2024-07-22 11:31:34 +05:30
Kovid Goyal
0cf9a79760
A new option second_transparent_bg
Makes a second background color semi-transparent via background_opacity.
Useful for things like cursor line highlight in editors.

Fixes #7646
2024-07-21 20:22:31 +05:30
Kovid Goyal
2be91d73dd
Move the query_terminal implementation to Go 2024-06-24 07:54:14 +05:30
Kovid Goyal
af9f205ec4
Also get the current fg/bg colors to render text with 2024-06-24 07:54:14 +05:30
Kovid Goyal
b6e92dd79d
Query font size and DPI from terminal 2024-06-24 07:54:13 +05:30
Kovid Goyal
d826265fd7
Get query terminal working again
Also return current OS Window's font size
2024-06-24 07:54:13 +05:30
Kovid Goyal
70bc4f1033
Generate man pages for kitten and all its sub-commands recursively
Fixes #6808
2023-11-11 17:09:23 +05:30
Kovid Goyal
7fe5d7b58f
Replace isort with ruff 2023-01-09 16:47:42 +05:30
Kovid Goyal
9811d677e5
query terminal kitten: Return fast when run in non-kitty terminals 2022-04-30 14:25:39 +05:30
pagedown
bb78dc5ccb
Docs: Fix the help text of query_terminal and other minor tweaks
Use --match-tab in broadcast kitten example.
2022-04-29 01:30:45 +08:00
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
pagedown
4a3ed62809
Refactor: More f-string for kittens 2022-01-29 20:23:34 +08:00
Kovid Goyal
a26f041964
Add more type annotations 2021-10-27 12:31:10 +05:30
Kovid Goyal
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
Kovid Goyal
31da01d4df
Add clipboard_control to query_terminal 2021-07-24 07:26:12 +05:30
Kovid Goyal
d912d96f00
More docs cleanups 2021-07-19 09:08:55 +05:30
Kovid Goyal
e337fcaadc
query terminal kitten: Allow querying font face and size information
Fixes #3756
2021-06-24 13:31:50 +05:30
Kovid Goyal
890a149a5d
Move generation of query responses into the query classes 2021-06-24 12:31:17 +05:30
Kovid Goyal
6a755bda45
A new kitten to easily query kitty for config values 2020-10-07 13:35:16 +05:30