8282 Commits

Author SHA1 Message Date
Kovid Goyal
f78feb5abf
Allow very long middle clicks to close tabs 2021-10-25 12:23:54 +05:30
Kovid Goyal
4385acd3c6
A new option to set the tab bar margin color independently 2021-10-25 12:21:46 +05:30
Kovid Goyal
c0927a3643
Fix rendering of tab bar right margin 2021-10-25 11:39:04 +05:30
Kovid Goyal
37692119e1
Close tab on middle click release not press
Fixes the problem of close causing the tabbar to disappear which could
cause the subsequent release to be delivered to the remaining kitty
window
2021-10-25 10:56:10 +05:30
Kovid Goyal
0f193141af
Add support for OSC 777 based desktop notifications
Might as well, since we also support OSC 9, so why not yet another
poorly designed legacy scheme.
2021-10-25 10:46:00 +05:30
Kovid Goyal
24d5fc5f15
Add changelog entries for all the tab bar changes 2021-10-25 10:27:59 +05:30
Kovid Goyal
1ab8d58bf7
Ensure right margin is drawn 2021-10-25 10:27:47 +05:30
Kovid Goyal
691bf75b35
Fix tab bar not being redrawn when colors changed by set-colors
Fixes #4152
2021-10-25 10:17:48 +05:30
Kovid Goyal
63e23d7fe3
Fix set-colors unable to set tab_bar_background to none 2021-10-25 10:04:25 +05:30
Kovid Goyal
23d0db5458
... 2021-10-25 09:17:29 +05:30
Kovid Goyal
71c62664cd
Fix tab bar background not being update in the shader when using set-colors 2021-10-25 09:11:23 +05:30
Kovid Goyal
c9faf5dd59
Extra update_blank_colors() call is not needed 2021-10-25 09:02:08 +05:30
Kovid Goyal
baf080f147
Tab bar left margin should be drawn in the same background color as the other margins 2021-10-25 09:00:49 +05:30
Kovid Goyal
0e29ee9299
... 2021-10-25 08:48:28 +05:30
Kovid Goyal
d52e5fab1e
Merge branch 'master' of https://github.com/python-pitfalls/kitty 2021-10-25 08:43:08 +05:30
Naelson Douglas
9f442eb7e4 removed a consider-using-in pitfall case 2021-10-25 00:04:23 -03:00
Kovid Goyal
0d94ca5399
Better fix for closing non-active tab 2021-10-25 08:11:50 +05:30
Kovid Goyal
13b900faf7
Activate tab before closing on middle click
Also fix compilation on macOS
2021-10-25 07:50:05 +05:30
Kovid Goyal
32ad75c5ab
Workaround mypy bug 2021-10-24 23:03:33 +05:30
Kovid Goyal
7a45653575
... 2021-10-24 22:59:50 +05:30
Kovid Goyal
b316e97a4f
Allow middle clicking on a tab to close it
Fixes #4151
2021-10-24 22:56:30 +05:30
Kovid Goyal
6c7420f4e7
Add a comment explaining why we do 1,1,1,0 2021-10-24 13:40:18 +05:30
Kovid Goyal
80a357623d
Linux X11: Add support for 10bit colors
Fixes #4150
2021-10-24 13:19:05 +05:30
Kovid Goyal
0a4dfa8fd2
macOS: Prevent resizing of fullscreen OS windows as it leads to visual artifacts 2021-10-24 12:38:44 +05:30
Kovid Goyal
4604558d35
Add some more docs for cursor_shape 2021-10-24 08:22:01 +05:30
Kovid Goyal
089ab9ee9f
Use a pre zsh 5.5 syntax for assoc arrays 2021-10-24 08:16:44 +05:30
Kovid Goyal
4fb804efc6
... 2021-10-23 18:55:55 +05:30
Kovid Goyal
5b2ba448b6
Only modify .zshrc to add shell integration if it already exists 2021-10-23 18:54:59 +05:30
Kovid Goyal
899b5078eb
bash integration: fix newline replace in PS1 2021-10-23 18:48:45 +05:30
Kovid Goyal
edd423aad6
macOS; Fix restoring from fullscreen when resize increments are enabled 2021-10-23 13:06:47 +05:30
Kovid Goyal
518e0f4e21
oops 2021-10-22 12:52:57 +05:30
Kovid Goyal
7546e53c23
... 2021-10-22 12:47:32 +05:30
Kovid Goyal
0f9944190d
Shell integration: Better fix for multi-line prompts in bash
Also fix bash redrawing only the last PS2 prompt
2021-10-22 12:19:03 +05:30
Kovid Goyal
18aca275c8
Only libedit doesn't redraw GNU readline does 2021-10-22 12:08:06 +05:30
Kovid Goyal
6d02ef59f8
Shell integration: Fix PS2 support
zsh only redraws the prompt from the last PS2 on a multiline prompt.
Take this into account.
2021-10-22 12:02:21 +05:30
Kovid Goyal
729cea88f3
More sophisticated OSC 133 parsing with support for secondary prompts 2021-10-22 11:54:54 +05:30
Kovid Goyal
9b957a1fdb
handle shlex exceptions gracefully 2021-10-22 05:12:12 +05:30
Kovid Goyal
e18b0cd4c8
When a window is moved but not resized, ensure the OS Window is re-rendered 2021-10-22 04:15:47 +05:30
Kovid Goyal
b51be8382f
Transmit home directory when sending so filenames can be resolved
Also only send metadata if permission granted by user
2021-10-21 20:06:53 +05:30
Kovid Goyal
a95a1f1158
Specify languages for CodeQL 2021-10-21 19:43:52 +05:30
Kovid Goyal
be8fc47c5f
Also report enabled_layouts in kitty @ ls 2021-10-21 16:41:05 +05:30
Kovid Goyal
4fd76b09d9
kitty @ ls: Also report layout options 2021-10-21 13:44:06 +05:30
Kovid Goyal
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
Kovid Goyal
8f0b3983ee
Apparently only importlib_resources has actually deprecated contents() 2021-10-20 11:15:51 +05:30
Kovid Goyal
7f2ce045ab
Handle deprecation of importlib.resources APIs 2021-10-19 09:14:58 +05:30
Kovid Goyal
38f1fe7742
Make --override parsing a little more forgiving
Handle option values with = in them even if the user uses a space
as a separator rather than an =
2021-10-18 22:44:10 +05:30
Kovid Goyal
a099d2364d
kitty should not quit if an invalid set_colors mapping is configured 2021-10-18 21:20:48 +05:30
Kovid Goyal
5f91084968
More work on file transfer 2021-10-18 13:02:37 +05:30
Kovid Goyal
cb9321e925
handle comma separated layout lists as well 2021-10-17 18:34:02 +05:30
Kovid Goyal
716ff187f9
kitty @ set-enabled-layouts
Fixes #4129
2021-10-17 18:30:34 +05:30