Kovid Goyal
d160db1bcd
...
2021-10-31 10:20:27 +05:30
Kovid Goyal
a788cd9f64
Also clear the current visual select when selecting in stack layout
2021-10-31 10:15:06 +05:30
Kovid Goyal
6997e36670
...
2021-10-31 10:11:50 +05:30
Kovid Goyal
1893b3ce0f
Store visual select in flight information in a single object
2021-10-31 10:10:20 +05:30
Kovid Goyal
576abecf7d
oops forgot to call cancel current visual select when starting a new one
2021-10-31 09:54:28 +05:30
Kovid Goyal
b9b799533b
Eh, mypy doesnt let me ignore requests on CI
2021-10-31 09:40:03 +05:30
Kovid Goyal
70a01955b8
Fix timeout of @ select-window not canceling the visual select
2021-10-31 09:38:55 +05:30
Kovid Goyal
5f9409a91d
Fix visual select failing if triggerred when there is already an active visual select
2021-10-31 09:32:12 +05:30
Kovid Goyal
32805ca968
More work on file transfer
2021-10-31 09:28:20 +05:30
Kovid Goyal
8dfb0c6675
Dont bother with type checking requests in the publish script
2021-10-31 09:25:39 +05:30
Kovid Goyal
7428d42c16
Restore environ after running tests
2021-10-31 09:20:06 +05:30
Kovid Goyal
99d9cb0b0d
Run tests with HOME set to a tempdir
2021-10-31 08:20:46 +05:30
Kovid Goyal
80ab60f1b6
Merge branch 'fix-clang-warning' of https://github.com/Luflosi/kitty
2021-10-30 20:30:27 +05:30
Luflosi
a1d24028b8
Fix Clang warning
...
Without this, kitty fails to compile:
```
glfw/cocoa_init.m:462:14: error: case value not in enumerated type
'NSEventModifierFlags' (aka 'enum NSEventModifierFlags')
[-Werror,-Wswitch]
case (NSEventModifierFlagShift | NSEventModifierFlagOption):
^
glfw/cocoa_init.m:465:14: error: case value not in enumerated type
'NSEventModifierFlags' (aka 'enum NSEventModifierFlags')
[-Werror,-Wswitch]
case (NSEventModifierFlagShift | NSEventModifierFlagCommand):
^
```
I thought about changing the type of the `modifierFlags` function parameter from `NSEventModifierFlags` to `NSUInteger` since `NSEventModifierFlags` is defined as an enum according to https://developer.apple.com/documentation/appkit/nseventmodifierflags?language=objc and is technically not the proper type for a bit field. But since Apple themselves define `modifierFlags` as `NSEventModifierFlags` according to https://developer.apple.com/documentation/appkit/nsevent/1534405-modifierflags?language=objc , I think the fix in this commit is better.
This warning was introduced with commit f9944e614088c4977ad9c9f1d1b44d97643e8d5b.
2021-10-30 16:25:20 +02:00
Kovid Goyal
d03f4dbc98
More work on file transfer
2021-10-30 16:54:27 +05:30
Kovid Goyal
f1573654b9
Update changelog for previous PR
2021-10-30 15:16:11 +05:30
Kovid Goyal
e703103fa8
Merge branch 'bgimage-options' of https://github.com/itepechi/kitty into bg
2021-10-30 15:04:41 +05:30
Kovid Goyal
6241369b6c
Cancel an async request on timeout so no spurious data is sent to the tty
2021-10-30 14:46:48 +05:30
Kovid Goyal
2a637e4220
Simplify sending of async response
2021-10-30 14:10:09 +05:30
Kovid Goyal
816360c275
A new remote control command to visually select a window
...
Fixes #4165
2021-10-30 13:56:48 +05:30
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