Alexander Kobel
e6e61028b1
Rename --debug-gl to --debug-rendering
2020-04-14 19:35:40 +02:00
Kovid Goyal
747ac85e7c
Add an :option:launch --watcher option that allows defining callbacks that are called for various events in the window's life-cycle
...
Fixes #2440
2020-03-28 12:13:42 +05:30
Kovid Goyal
4e58062025
Improve rendering of :option: in cli docs
2020-03-24 22:03:00 +05:30
Kovid Goyal
382c31ddf2
Use a stub rather than TYPE_CHECKING
2020-03-15 13:27:40 +05:30
Kovid Goyal
c912eef040
Minor strictness increases
2020-03-14 14:59:31 +05:30
Kovid Goyal
149ae2866a
more typing work
2020-03-12 08:10:51 +05:30
Kovid Goyal
fc0adfd965
more typing work
2020-03-10 15:48:51 +05:30
Kovid Goyal
308d171dae
More typing work
2020-03-08 18:55:30 +05:30
Kovid Goyal
cc1336a616
More typing work
...
Also use a mypy based linter when editing
2020-03-08 11:02:14 +05:30
Kovid Goyal
ef879bab9c
Fix #2411
2020-03-06 07:19:33 +05:30
Kovid Goyal
77e9460eea
Make mypy a bit stricter
2020-03-05 19:57:28 +05:30
Kovid Goyal
f05890719d
Add type checking for the various CLI options objects
2020-03-05 15:47:12 +05:30
Kovid Goyal
c9ce2f47dc
No top level typing issues found in kitty package
2020-03-04 07:31:22 +05:30
Kovid Goyal
f12031e284
Make the run-program example a little fancier
2020-01-13 12:16:43 +05:30
Luflosi
527ff0238a
Replace all instances of EnvironmentError with OSError
...
According to the text just above https://docs.python.org/3/library/exceptions.html#EnvironmentError , `EnvironmentError` has been an alias of `OSError` since Python 3.3. Replacing it makes the code more consistent since `OSError` is used in other places in the code too.
2020-01-11 16:47:36 +01:00
Luflosi
6f6180c34a
Change URL to avoid redirect
...
Since `https://sw.kovidgoyal.net/kitty ` redirects to `https://sw.kovidgoyal.net/kitty/ `, it would be better to directly use the second URL.
2019-11-26 17:23:21 +01:00
Kovid Goyal
f113184165
Micro-optimization
2019-11-13 14:39:06 +05:30
Kovid Goyal
70c2765a6e
Allow reading session file from STDIN
2019-09-08 15:20:37 +05:30
Luflosi
5f855ce547
Use context managers to open files
...
Inspired by d50a6ddc1b .
2019-08-01 13:21:26 -05:00
Kovid Goyal
658be9405f
Document the kitty remote control protocol
...
Fixes #1646
2019-06-12 13:12:53 +05:30
Kovid Goyal
98d7fc9f39
Simplify code
2019-06-05 08:26:25 +05:30
Kovid Goyal
277f43aed6
Linux: Disable the Wayland backend on GNOME
...
GNOME has no support for server side decorations.
Can be controlled by new option linux_display_server.
2019-06-04 19:10:13 +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
c660840c19
When encountering errors in kitty.conf report them to the user instead of failing to start.
2019-04-28 20:53:59 +05:30
Kovid Goyal
d8d7765a82
DRYer
2019-03-15 18:52:24 +05:30
Kovid Goyal
b98bc1c787
Add --help to kitty command line completion
...
Fixes #1469
2019-03-15 18:50:59 +05:30
Kovid Goyal
8d9ba4a772
Handle ctrl-c while paging help gracefully
2018-12-03 13:53:13 +05:30
Kovid Goyal
1f63ff1d41
Have the kitty --title flag apply to all windows created using kitty --session
...
Fixes #921
2018-09-09 10:49:20 +05:30
Kovid Goyal
e1f993938a
Add a new kitty --start-as command line flag to start kitty fullscreen/maximized/minimized.
...
This obsoletes the --start-in-fullscreen flag introduced in the previous release
which has been removed since it has only existed for a few days.
Fixes #935
2018-09-09 10:23:48 +05:30
Kovid Goyal
33f0ac83c1
Wayland: Allow using the --class to set the app id
...
Fixes #862
2018-09-06 06:54:38 +05:30
Kovid Goyal
1451a8ccc0
Add a new --start-in-fullscreen command line flag
...
Fixes #856
2018-09-05 07:36:13 +05:30
Kovid Goyal
cf7ecd5e66
Do not import fast_data_types at the top level of utility modules
2018-08-28 10:27:06 +05:30
Kovid Goyal
1c11ba8dbd
...
2018-08-27 13:11:30 +05:30
Kovid Goyal
529d5b2226
Dont store the options spec at the top level of the module
2018-08-27 13:06:17 +05:30
Kovid Goyal
9fe16867c6
Do not import config_data at the top-level of the cli module
...
Importing it is slow and it is not needed in many cases, for instance
when used from kittens
2018-08-27 12:59:10 +05:30
Kovid Goyal
16764c79b2
Start work on completion for the kitty command
2018-08-23 15:10:13 +05:30
Kovid Goyal
634d262b64
When using the --listen-on option have kitty @ automatically connect to the socket even when --to is not specified
...
The listen on value is set in the env of the child processes, so kitty @
can read it when run from inside kitty.
2018-08-04 22:06:47 +05:30
James McCoy
33cac29f87
seq_as_rst: Sort "Choices" so they are consistently formatted
2018-07-05 11:00:54 -04:00
Kovid Goyal
c7879d06c9
Output native key names in --debug-config
2018-06-30 18:48:39 +05:30
Kovid Goyal
05227e7dfb
Fix --debug-config failing when native keys present
2018-06-30 18:42:19 +05:30
Kovid Goyal
3ec66c0b9f
Fix regression in previous release that caused --debug-config to fail when printing shortcuts
...
Forgot to adjust the print shortcuts code for native shortcuts.
Fixes #695
2018-06-30 17:48:25 +05:30
Kovid Goyal
82f6fbff77
Add a --hold command line option to stay open after the child process exits
...
Fixes #667
2018-06-22 13:52:03 +05:30
Chris Lamb
a644e4c31e
Support "-T" as an alias for "--title".
...
Thank you for developing Kitty.
Currently kitty is not available on the list of "alternatives" for a
terminal emulator on Debian GNU/Linux and derivatives. This is because
Debian Policy states that packages that provide a terminal emulator must
provide, inter alia, support the command-line option -T title, which
creates a new terminal window with the specified window title [0].
This PR therefore adds -T as an alias for --title, thus bringing kitty into
compliance and allowing cleaner integration into the Debian desktop.
This issue was originally filed as #900704 .
[0] https://www.debian.org/doc/debian-policy/#packages-providing-a-terminal-emulator
[1] https://bugs.debian.org/900704
Signed-off-by: Chris Lamb <lamby@debian.org >
2018-06-19 10:10:43 +02:00
Kovid Goyal
0848816644
...
2018-06-12 21:03:02 +05:30
Kovid Goyal
ba7f0132f2
Add a command line option to make --single-instance wait for the closing of the newly opened window before quitting. Fixes #630
2018-06-12 20:53:25 +05:30
Kovid Goyal
5f6c4c0f6c
...
2018-06-10 06:36:23 +05:30
Kovid Goyal
ca17e9b02c
...
2018-06-07 22:23:15 +05:30
Kovid Goyal
223fe85449
Mention the kitty website in kitty --help
2018-06-07 18:22:39 +05:30
Kovid Goyal
ea4a7136f0
Get rid of the |kitty.conf| substitution
2018-06-05 08:44:51 +05:30
Kovid Goyal
7cf6b8b594
Move the config utils into its own package
2018-06-03 11:54:26 +05:30