Kovid Goyal
e1504c4775
Avoid needing to initialize tty state in bootstrap scripts
2022-03-13 13:55:30 +05:30
Kovid Goyal
2404eba11f
ssh kitten: Passthrough to ssh if run outside of kitty
...
Also, ensure that the ssh data request is only served if it is received
over the tty of the correct kitty window.
2022-03-07 06:48:18 +05:30
Kovid Goyal
c713dc0ca8
Allow using a --kitten argument with the ssh kitten to make it easier to override settings from ssh.conf
2022-03-06 10:07:46 +05:30
Kovid Goyal
ae6665493a
Implement setting of env vars
2022-03-03 21:24:44 +05:30
Kovid Goyal
22c1ee7dc8
Cannot call the parser from callbacks that are themselves called from the parser
2022-03-03 21:24:43 +05:30
Kovid Goyal
d452a5cdce
...
2022-03-03 21:24:43 +05:30
Kovid Goyal
8ca3a511cc
Get the ssh bootstrap tests fully working
2022-03-03 21:24:43 +05:30
Kovid Goyal
e73525d0a2
Start work on testing the bootstrap script
2022-03-03 21:24:43 +05:30
Kovid Goyal
d53f8f24c4
Fix #4757
...
Still have to do the fix for zsh/fish
2022-02-27 10:20:19 +05:30
Kovid Goyal
b212fd5bcd
Dont actually need a thread for PTY
2022-02-24 10:05:13 +05:30
Kovid Goyal
0a297f4656
proper ordering during shutdown
2022-02-24 00:27:09 +05:30
Kovid Goyal
fa397a1d24
PTY: Write to child in separate thread
2022-02-24 00:26:08 +05:30
Kovid Goyal
0610daaec7
Remove echo dance
2022-02-24 00:08:17 +05:30
Kovid Goyal
03f9f29ce4
DRYer
2022-02-23 18:14:40 +05:30
Kovid Goyal
4487462b0d
bash assumes ECHO is enabled for the tty
2022-02-22 20:43:58 +05:30
Kovid Goyal
7fe1376e34
DRYer
2022-02-22 14:52:54 +05:30
Kovid Goyal
cb32a0b8fc
Handle remote print callback in tests
2022-02-22 11:47:44 +05:30
Kovid Goyal
65c7ecbc30
Test prompt drawing after screen is shrunk
2022-02-21 21:17:52 +05:30
Kovid Goyal
da5e37620e
Also test changing of title when running command
2022-02-21 21:17:52 +05:30
Kovid Goyal
c9cc832875
Add basic tests for zsh shell integration
2022-02-21 17:57:25 +05:30
Kovid Goyal
b28d94ac97
Always use kitty as the python interpreter to run in the tests
2022-02-21 14:45:12 +05:30
Kovid Goyal
b9684879e7
Try to fix tests failing on CI
2022-02-21 14:24:08 +05:30
Kovid Goyal
63f974531b
Framework for testing with external programs via a PTY
2022-02-21 14:08:10 +05:30
Kovid Goyal
8699f90fa4
Now have sphinx types on dev machine
2021-12-23 10:13:16 +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
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6
2021-10-21 12:43:55 +05:30
Kovid Goyal
b5c086aedb
...
2021-09-19 20:25:08 +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
6d7df1c5e8
Refactor configuration file parsing
...
Now the time for importing the kitty.config module has been halved, from
16ms from 32ms on my machine. Also, the new architecture will eventually
allow for auto generating a bunch of python-to-C boilerplate code.
2021-05-31 17:40:49 +05:30
Kovid Goyal
6dcc09a96f
Port mouse selection tests to new framework
2021-05-11 11:49:44 +05:30
Kovid Goyal
5cf228e362
Fix tab activity tracking not working unless there is some other activity in tab bar as well
...
Fixes #3571
2021-05-05 14:30:16 +05:30
Kovid Goyal
0f3ff4e2d9
Scrollback filling should happen after cursor position is finalized
2021-03-17 21:59:11 +05:30
Kovid Goyal
071986138b
Cleanup previous merge
2021-03-17 13:43:26 +05:30
Eddie Lebow
b76491ba82
Add tests for scrollback_fill_enlarged_window
2021-03-15 23:58:11 -04:00
Kovid Goyal
e06d40cb31
Fix test suite getting type checked accidentally
2021-02-19 15:19:04 +05:30
Kovid Goyal
67ca1902a0
Use a cache dir in the cwd on CI
2021-02-05 09:42:01 +05:30
Kovid Goyal
6a755bda45
A new kitten to easily query kitty for config values
2020-10-07 13:35:16 +05:30
Kovid Goyal
399a1f8fee
Add an option to disable OSC 8
2020-09-10 10:47:28 +05:30
Kovid Goyal
eca53bfab0
Add a new escape code to allow terminal programs to trigger desktop notifications
...
Fixes #1474
2020-08-21 20:29:54 +05:30
Kovid Goyal
645890ccc8
Make the set of URL prefixes that are recognized while hovering with the mouse configurable
...
Fixes #2416
2020-03-08 13:16:34 +05:30
Kovid Goyal
563bafea08
Merge options when testing
2020-02-13 08:33:57 +05:30
Kovid Goyal
3010ebfef5
More mouse interaction tests
2020-02-12 19:02:38 +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
33b62dcabc
Turn on the scrollback pager for all tests
2018-11-20 10:42:17 +05:30
Dominique Martinet
10b15caad9
tests: add options param to create_screen()
...
Always apply defaults when creating a screen (the C-side global state
default will not have the intended values without this), and provide a
way to override default values with a new optional parameter
2018-09-22 18:05:13 +09:00
Kovid Goyal
523aadaa3b
Refactor font group handling
...
Allow kitty to manage multiple groups of fonts with different cell
sizes. Will eventually allow kitty to have different font sizes/dpi per
OSWindow
2018-05-27 12:37:05 +05:30
Kovid Goyal
6f2d63eb87
Implement SGR dim
...
kitty now supports the SGR DIM escape code, which makes text fade into
the background. It works by alpha blending the text color into the
background color. Fixes #446
2018-05-20 10:43:26 +05:30
Kovid Goyal
c17c6cae4c
Support S8C1T mode
...
That is, eight bit control codes. When in S8C1T mode, kitty will send
only eight bit control codes to the client.
2017-12-05 20:21:12 +05:30
Kovid Goyal
b9798c74d4
Support for DCS status and capabilities reporting codes
2017-12-02 14:35:06 +05:30