Commit Graph

8046 Commits

Author SHA1 Message Date
Kovid Goyal
39dcfb4e5d Auto generate the list of all color config keys 2021-11-02 15:16:55 +05:30
Kovid Goyal
34d87b7a72 Another stab at PATH manipulation 2021-11-02 14:43:20 +05:30
Kovid Goyal
f2d2cfec8f ... 2021-11-02 13:54:51 +05:30
Kovid Goyal
46625d207b Cleanup PATH manipulations 2021-11-02 08:57:44 +05:30
Kovid Goyal
f35112378f Merge branch 'dont-rely-on-nanosecond-resolution' of https://github.com/Luflosi/kitty 2021-11-02 07:53:12 +05:30
Luflosi
bb5ded4e65 Don't rely on nanosecond resolution when testing mtime transmission
Commit 85cea78b3c missed a couple instances where the mtime was not a multiple of 1µs.
See https://github.com/kovidgoyal/kitty/issues/4175.
2021-11-01 21:06:23 +01:00
Kovid Goyal
b2f406f021 put kitty in PATH before setting default env 2021-11-01 21:37:13 +05:30
Kovid Goyal
7821e2508c Cleanup previous PR 2021-11-01 20:52:55 +05:30
Kovid Goyal
3e6cfe3275 Merge branch 'fix-kitty-env-path' of https://github.com/page-down/kitty 2021-11-01 20:41:50 +05:30
Kovid Goyal
588313b9ac Dont re-render window chars unless needed 2021-11-01 20:38:19 +05:30
pagedown
50e4811e6d Make sure kitty is first in the PATH and not repeatedly added when it already exists 2021-11-01 22:37:31 +08:00
pagedown
c182f95684 Make --override parameter compatible with 'env VAR=' syntax 2021-11-01 22:37:30 +08:00
Kovid Goyal
c241524663 Implement rending of visual select chars on macOS 2021-11-01 15:34:38 +05:30
Kovid Goyal
9517c3500d Allow visually selecting upto 36 windows
Also dont draw the window title if the window is too small
2021-11-01 10:46:54 +05:30
Kovid Goyal
1b8978fede Implement rendering of ASCII char with FreeType 2021-11-01 10:17:26 +05:30
Kovid Goyal
5796cbc040 Remove the seven segment shader 2021-11-01 08:42:02 +05:30
Kovid Goyal
49726384f7 Start work on rendering visual select numbers using fonts instead of seven segment display 2021-11-01 08:40:03 +05:30
Kovid Goyal
e7386735f4 Make code to load alpha mask texture re-useable 2021-11-01 07:29:04 +05:30
Kovid Goyal
ddfa653197 resizing size text should be drawn with the current foreground color 2021-11-01 07:19:17 +05:30
Kovid Goyal
fffee1049f Function to get an alpha mask for a single char from freetype 2021-11-01 06:52:24 +05:30
Kovid Goyal
cc502163cb Use slots number for visual selection 2021-10-31 21:20:16 +05:30
Kovid Goyal
d53d92b890 Proper handling of async responses to peers 2021-10-31 21:09:24 +05:30
Kovid Goyal
218582ced8 More work on file transfer 2021-10-31 20:05:48 +05:30
Kovid Goyal
bc1c19b4f7 Merge branch 'fix-pager-cur-pos' of https://github.com/page-down/kitty 2021-10-31 19:18:29 +05:30
Kovid Goyal
85cea78b3c Use 13000 when testing mtime transmission as there exist some systems with a 1000ns resolution. See #4175 2021-10-31 19:13:55 +05:30
pagedown
7a9027a147 Do not report cursor position when the cursor is scrolled off the screen 2021-10-31 21:17:38 +08:00
Kovid Goyal
66db3f9764 Also sanitize various XDG* env vars when running the test suite 2021-10-31 16:21:33 +05:30
Kovid Goyal
7e84343f16 Merge branch 'remove-unused-code' of https://github.com/Luflosi/kitty 2021-10-31 16:18:37 +05:30
Luflosi
e82e57a30c Remove unused code
Since 99d9cb0b0d runs all tests with HOME set to a temporary directory, this code setting the cache directory to a temporary directory is no longer needed. `cache_dir()` will choose a directory in the home directory if neither KITTY_CACHE_DIRECTORY or XDG_CACHE_HOME are set.
2021-10-31 11:42:55 +01:00
Kovid Goyal
336c7ddca8 DRYer 2021-10-31 15:41:19 +05:30
Kovid Goyal
4ffcbc8274 Wake up talk loop when not sending response to peer 2021-10-31 15:22:22 +05:30
Kovid Goyal
22673ebd90 ... 2021-10-31 14:06:02 +05:30
Kovid Goyal
b1c0398bba Avoid unnecessary CPU churn when reading from stdin for @ send-text 2021-10-31 14:04:07 +05:30
Kovid Goyal
6310517ff2 @ send-text: Fix reading from stdin when RC is over a socket 2021-10-31 13:55:11 +05:30
Kovid Goyal
4ff3d6a645 More work on file transfer 2021-10-31 13:12:23 +05:30
Kovid Goyal
23570cc5f7 ... 2021-10-31 11:55:00 +05:30
Kovid Goyal
dc09a5183a Exclude the currently active window when visually selecting 2021-10-31 11:37:38 +05:30
Kovid Goyal
8458b9e7d6 Allow specifying a title for @ select-window 2021-10-31 11:08:28 +05:30
Kovid Goyal
51900996ea When selecting in stack dont exclude the active window 2021-10-31 11:05:00 +05:30
Kovid Goyal
663da130ae Show the choose msg in the OS Window title bar during a visual select 2021-10-31 11:01:34 +05:30
Kovid Goyal
c8b1724ecf Function to change OS Window title from python 2021-10-31 10:56:36 +05:30
Kovid Goyal
c289af8f07 When initiating a visual select make sure its tab is the active tab 2021-10-31 10:45:59 +05:30
Kovid Goyal
da7fa53b1a Consolidate visual select cleanup in one place
Also ensure callback is called even when only a single window is present
and when selecting in stack
2021-10-31 10:36:23 +05:30
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