Commit Graph

39 Commits

Author SHA1 Message Date
Kovid Goyal
836b652f4d Enable checks for unused noqa 2023-01-09 17:28:35 +05:30
Kovid Goyal
7fe5d7b58f Replace isort with ruff 2023-01-09 16:47:42 +05:30
Kovid Goyal
63fa0c4e94 Nicer fix for human_repr of keys defined with kitty_mod 2022-08-12 12:37:15 +05:30
Kovid Goyal
d4075bfa9a ... 2022-08-12 07:01:40 +05:30
Kovid Goyal
2b7455e353 Use kitty_mod in debug config output
Fixes #5367
2022-08-11 23:45:23 +05:30
Kovid Goyal
c910f483bf Improve formatting of config diff for modify_font 2022-07-15 11:15:57 +05:30
Kovid Goyal
1c9cf32735 Add a few more important env vars to debug output 2022-02-17 07:45:36 +05:30
Kovid Goyal
12f41f30b3 Only show important env vars in debug output
Also show their values since these are not sensitive
2022-02-03 20:43:23 +05:30
pagedown
14ae2d0862 Make the colons colored like the others 2022-01-30 17:37:17 +08:00
Kovid Goyal
9f250fdf26 Only dump env var names not values 2022-01-29 11:55:26 +05:30
Kovid Goyal
d92eba82bc Dump env vars seen by kitty for debug config 2022-01-29 11:36:58 +05:30
Kovid Goyal
9caa6bb306 Nicer event printing 2022-01-19 14:32:03 +05:30
Kovid Goyal
acf227803f Move event formatting into the types 2022-01-19 14:30:08 +05:30
Kovid Goyal
f255c15fa9 DRYer 2022-01-19 14:04:14 +05:30
Kovid Goyal
7ce74ac688 Also change string based on event type 2022-01-19 13:58:45 +05:30
Kovid Goyal
6090673bb5 DRYer 2022-01-19 13:56:02 +05:30
Kovid Goyal
d1b5420b08 Display space as a word when printing keys 2022-01-19 13:33:53 +05:30
pagedown
bac84f31b3 Refactor the print functions to make it easier to use in kitten 2022-01-19 15:26:02 +08:00
pagedown
7bf7cc284d Add the missing mouse triggers click (-2) and double-click (-3) 2022-01-19 14:12:39 +08:00
pagedown
ff1efebf70 Fix mouse maps are indented with one more space 2022-01-19 14:07:45 +08:00
pagedown
9334ed773e Adjust the order of modifier key names to match the config and docs 2022-01-19 14:05:51 +08:00
Kovid Goyal
2a58af2be9 Ignore all errors rendering /etc/issue 2022-01-05 14:04:56 +05:30
Kovid Goyal
f66914f7bb ... 2022-01-04 20:29:53 +05:30
Kovid Goyal
58e1f6ee1f Use ctermid() for tty_name 2022-01-04 20:25:16 +05:30
Kovid Goyal
f8fc272f58 Make loading IssueData more robust
Fixes #4424
2022-01-04 19:57:23 +05:30
Kovid Goyal
0c274a9a0b Parse actions on demand
This removes the startup cost of parsing hundreds of default actions
when action_alias or kitten_alias are used. Although the cost is on the
order of 1ms, this design feels cleaner and gives nicer debug config
output.
2021-11-29 21:51:42 +05:30
Kovid Goyal
aa4fa4cc85 Allow defining aliases for more general actions, not just kittens
Fixes #4260
2021-11-22 19:52:43 +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
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
90dfabc644 Use realpath() when reporting kitty_exe 2021-10-17 06:30:26 +05:30
Kovid Goyal
498d3d5906 More cleanups 2021-10-05 11:58:06 +05:30
Kovid Goyal
35d4e2d4e0 Clean up previous PR 2021-10-05 11:36:29 +05:30
Matt Fellenz
072e583835 Properly evaluate /etc/issue placeholders 2021-10-04 20:49:48 -07:00
Kovid Goyal
8fb48d7952 Output more kitty global state when debugging config 2021-09-06 08:36:53 +05:30
Kovid Goyal
0045244295 All option instances must not share the same color table 2021-07-31 18:44:39 +05:30
Kovid Goyal
46fbf78da5 Fix #3804 2021-07-06 15:34:02 +05:30
Kovid Goyal
ad69143573 Improve config debug output for is_multiple variables 2021-06-05 14:39:43 +05:30
Kovid Goyal
4a71afaf96 Get rid of --debug-config
Instead have a keybind that shows the configuration used
by the currently running kitty instance
2021-06-05 14:27:24 +05:30