Kovid Goyal
c541d7e349
Document --self in the launch rc protocol
2021-10-30 12:36:58 +05:30
Kovid Goyal
df70d8661a
Pass the peer id to commands
2021-10-30 12:29:27 +05:30
Kovid Goyal
c3daa969fa
Allow individual commands to control the response timeout
2021-10-30 12:20:37 +05:30
Kovid Goyal
66a7c3bc4d
Simplify handling of --no-response
2021-10-30 12:15:37 +05:30
Kovid Goyal
3553b3ce3d
Pass the peer id to python for potentially async replies
2021-10-30 08:31:13 +05:30
itepechi
9289c2de69
Refactor background_image_anchor for cleaner code
2021-10-30 04:34:33 +09:00
itepechi
dac1612cb0
Calculate background image position on the GPU
2021-10-30 04:34:33 +09:00
itepechi
87d79c7415
Change the naming of directions in option background_image_anchor for consistency
...
Replaced cardinal directions with "relative" directions.
2021-10-30 04:34:33 +09:00
itepechi
86d7aaa03a
Add clamped to option background_image_layout
2021-10-30 04:34:33 +09:00
itepechi
cae31ab336
Read/Write bganchor directly from the options' state
...
Slight performance improvement, maybe?
Also, `kitty/graphics.h` has been reverted to the original version;
this version would be better in that aspect too.
2021-10-30 04:34:32 +09:00
itepechi
2aa01c58a1
Add option background_image_anchor to configure bgimage position
2021-10-30 04:34:32 +09:00
Kovid Goyal
ee852cf5fc
More work on file transmission
2021-10-29 21:52:49 +05:30
Kovid Goyal
5eb87b9f10
Micro-optimizations of fish sheel integration script
...
By @page-down
2021-10-29 21:51:48 +05:30
Kovid Goyal
820a893d75
More work on file transfer
2021-10-29 15:01:31 +05:30
Kovid Goyal
ce823e4b08
Fix incorrect scissoring for window resize counter
...
It uses draw_graphics, which uses a scissor, but the scissor was set by
the last call to draw_cells() which is not called during a resize,
leaving us with an incorrect scissor.
Fixes #4160
2021-10-28 21:45:15 +05:30
Kovid Goyal
21830048c9
Fix reading session from STDIN not working when used with --single-instance
...
Fixes #4155
2021-10-28 17:00:54 +05:30
Kovid Goyal
1251f9ec80
Keep the list of nullable colors up to date automatically
2021-10-28 15:21:42 +05:30
Kovid Goyal
4839cbe9d0
...
2021-10-28 15:04:36 +05:30
Kovid Goyal
702bfccfa2
Allow reverse video for the mouse selection
...
Fixes #646
2021-10-28 15:01:48 +05:30
Kovid Goyal
28386cc496
Fix nulling selection_fg not working
2021-10-28 14:38:35 +05:30
Kovid Goyal
0c1a7347db
Mark another nullable color
2021-10-28 14:38:09 +05:30
Kovid Goyal
c06a03ab96
Avoid very low contrast colors for reverse video cursor
2021-10-28 14:14:38 +05:30
Kovid Goyal
93dbcab10a
Refactor code to get cell colors
2021-10-28 13:35:30 +05:30
Kovid Goyal
5f12fbc2ee
Convenient aliases
2021-10-28 11:18:16 +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
40c046f86b
ooops
2021-10-28 08:17:16 +05:30
Kovid Goyal
aee5c317f6
...
2021-10-28 08:12:35 +05:30
Kovid Goyal
0fdafd8398
Allow rendering the cursor with reverse video
...
Also clean up handling of dynamic global colors.
TODO: Implement none for selection_fg
TODO: Add some tests
TODO: Check that changing colors via remote control works
Fixes #126
2021-10-28 00:21:12 +05:30
Kovid Goyal
3ca3c67828
Remove unused code
2021-10-27 17:15:45 +05:30
Kovid Goyal
336bc2c0e6
Update include path for fish integration script
2021-10-27 16:54:54 +05:30
Kovid Goyal
d3a3f99848
Use an env var for fish shell integration
...
Less intrusive (in some ways) than adding symlinks to ~/.config/fish
Exploits the fact that fish loads scripts from XDG_DATA_DIRS on startup.
Thanks to @page-down for noticing
2021-10-27 14:59:11 +05:30
Kovid Goyal
d31935b8eb
Old python compat
2021-10-27 14:23:07 +05:30
Kovid Goyal
13928d4d35
When showing last command output and similar cursor less text with the scrollback pager set CURSOR_LINE and CURSOR_COLUMN to 0
2021-10-27 14:20:33 +05:30
Kovid Goyal
212af78032
Turn on strict checks for mypy
2021-10-27 14:00:38 +05:30
Kovid Goyal
60472fcee3
Add more type annotations
2021-10-27 14:00:29 +05:30
Kovid Goyal
c899eb4ee3
Add more type annotations
2021-10-27 13:44:12 +05:30
Kovid Goyal
d090db380f
Add more type annotations
2021-10-27 13:26:18 +05:30
Kovid Goyal
a26f041964
Add more type annotations
2021-10-27 12:31:10 +05:30
Kovid Goyal
b22bda3cba
Add more type annotations
2021-10-27 11:36:34 +05:30
Kovid Goyal
69e903a4c4
Add more type annotations
2021-10-27 11:13:28 +05:30
Kovid Goyal
6f19fd5912
Add more type annotations
2021-10-27 10:50:24 +05:30
Kovid Goyal
9c2f96f7eb
Add more type annotations
2021-10-27 08:45:45 +05:30
Kovid Goyal
4494ddd8ff
mypy: Turn on return value checks
...
Its a shame GvR is married to "return None"
https://github.com/python/mypy/issues/7511
2021-10-26 22:39:14 +05:30
Kovid Goyal
5cb36a4632
More work on file transfer
2021-10-26 22:05:38 +05:30
Kovid Goyal
9b7342b231
Mark output before running command
...
This will help with shell integration erasing the prompt if there is a
resize caused by the command
2021-10-25 20:40:55 +05:30
Kovid Goyal
01ebc8f15a
Use a space as content placeholder when resizing
2021-10-25 20:05:26 +05:30
Kovid Goyal
472baf7337
DRYer
2021-10-25 18:12:48 +05:30
Kovid Goyal
c381716ecf
Specify we need alpha as well
2021-10-25 17:15:46 +05:30
Kovid Goyal
0e08c6c660
Fix a one pixel line not being drawn at the bottom edge of the fat and tall layouts
2021-10-25 15:28:49 +05:30
Kovid Goyal
6da79ab614
Reset draw data default bg when background is changed
2021-10-25 12:40:36 +05:30