Commit Graph
4798 Commits
Author SHA1 Message Date
Kovid Goyal 14f9f64bce Fix chunking of signature for transmission 2021-10-02 11:47:29 +05:30
Kovid Goyal 1d1d55e2b4 Fix #4084 2021-10-02 05:10:59 +05:30
Kovid Goyal 3cea8f24d4 ... 2021-10-02 04:58:47 +05:30
Kovid Goyal d6a43a7729 Dont turn on disambiguate keys when receiving th XTMODKEYS escape code
See #4075
2021-10-01 21:26:27 +05:30
Kovid Goyal cfeeec95fa Start work on delta based file transmission 2021-10-01 17:26:27 +05:30
Kovid Goyal eeb02ceef4 Shell integration: Workaround bash not redrawing multiline prompts 2021-10-01 09:30:26 +05:30
Kovid Goyal 06f67e4765 typo in comment 2021-09-30 14:27:22 +05:30
Kovid Goyal 21d3856e90 Another attempt at fixing fish cursor movement 2021-09-30 14:17:01 +05:30
Kovid Goyal 2304d0ec5c Ignore extra zero in escape code to manipulate window title stack
See https://github.com/weechat/weechat/issues/1702
2021-09-30 09:16:51 +05:30
Kovid Goyal ea186ac48d Fix click to move cursor in fish multiline text
Thanks to @ridiculousfish, see: https://github.com/kovidgoyal/kitty/issues/3948#issuecomment-930458949
2021-09-30 07:44:30 +05:30
Kovid Goyal 9ab5a03f53 Fix movement of cursor when clicking and dual width chars are present in zsh 2021-09-30 07:38:44 +05:30
Kovid Goyal baf8976c2d Keep global_watchers immutable 2021-09-29 14:39:48 +05:30
Kovid Goyal b3ae857f3c ... 2021-09-29 14:25:13 +05:30
Kovid Goyal 8be0dd0d8e Restore the --watcher command line option for backwards compat
It is now deprecated but not removed. And it now applies to all windows
not just initially created ones.
2021-09-29 14:18:55 +05:30
Kovid Goyal 166ea9deb9 A new watcher option for kitty.conf that replaces the old --watcher cli flag
Applies to all windows, not just initial ones.
2021-09-29 14:01:30 +05:30
Kovid Goyal a0cee13652 Also turn on extended key reporting for CSI > 4; 2 m
This is supported by XTerm and used by vim. Fixes #4075
2021-09-29 11:12:01 +05:30
Kovid Goyal cb1858ecc8 Remove unused import 2021-09-29 10:33:04 +05:30
Kovid Goyal 10fbf36e92 Silence bells caused by cursor movement after click at prompt 2021-09-29 10:27:13 +05:30
Kovid Goyal 3c3e97aa6e Fix moved status not being returned to python 2021-09-29 08:37:26 +05:30
Kovid Goyal 44bcbc4823 Make it easier to handle simple click events 2021-09-28 20:12:55 +05:30
Kovid Goyal a402a3ad12 Fix release not reporting button in sgr pixel protocol 2021-09-28 16:20:32 +05:30
Kovid Goyal 3efa8b6322 In SGR_PIXEL_MODE report pixel co-ords outside of window when dragging 2021-09-28 15:14:29 +05:30
Kovid Goyal 9a3d99515f Add support for reporting mouse events with pixel co-ordinates using the SGR_PIXEL_PROTOCOL introduced in xterm 359 2021-09-28 11:41:35 +05:30
Kovid Goyal 7d41aca0e4 More word selection direction change fixes 2021-09-27 20:42:22 +05:30
Kovid Goyal c71d8fe1cc Fix #4070 2021-09-27 17:29:22 +05:30
Kovid Goyal cc261db606 ... 2021-09-27 12:02:23 +05:30
Kovid Goyal 7e17ed21ce Use the atomic update decorator everywhere 2021-09-27 12:00:33 +05:30
Kovid Goyal 3bc7b5bad9 Remote file transfer: Fix transfer not working is custom ssh port or identity is specified on the SSH command line
Fixes #4067
2021-09-27 10:58:40 +05:30
Kovid Goyal d982a3c94e ... 2021-09-25 14:08:44 +05:30
Kovid Goyal 259ca4a11e Speed up parsing of file transfer OSC codes
Avoid roundtrips between unicode and bytes objects
2021-09-25 14:05:21 +05:30
Kovid Goyal b9ae1fa429 ... 2021-09-25 11:04:13 +05:30
Kovid Goyal 0d32c1656a More work on rsync based transfer 2021-09-25 11:03:17 +05:30
Kovid Goyal 2defd311e1 Fix a couple of typos in schedule_write_to_child_python 2021-09-25 11:01:23 +05:30
Kovid Goyal 1cef544cff Allow sending escape code to child in chunks 2021-09-24 16:54:04 +05:30
Kovid Goyal 67cef371dc Allow writing bytes when sending escape code to child 2021-09-24 14:06:09 +05:30
Kovid Goyal 03391b4f7a Improve docs a little 2021-09-24 09:05:42 +05:30
Kovid Goyal c2641458e7 A new option to specify the path to a sound file to use as the bell sound 2021-09-24 08:28:37 +05:30
Kovid Goyal bbdfdb978d Modify canberra wrapper to allow specifying a sound file path 2021-09-24 07:31:02 +05:30
Kovid Goyal 25e9ddb4a4 Fix type signature 2021-09-23 20:27:33 +05:30
Kovid Goyal 66bf39db93 DRYer 2021-09-23 20:20:47 +05:30
Kovid Goyal be439cb887 When a tab_bar_background is specified it should extend to the edges of the OS window
Fixes #4054
2021-09-23 20:12:30 +05:30
Kovid Goyal f3b601aa06 Make it clear what rects we are using for extra blank rects 2021-09-23 16:19:12 +05:30
Kovid Goyal f6a6ead0f3 Fix active_tab_foreground ignored in slant style
Fixes #4053
2021-09-23 14:40:08 +05:30
Kovid Goyal b5c086aedb ... 2021-09-19 20:25:08 +05:30
Kovid Goyal 1036132838 Rename pw to bypass 2021-09-19 17:21:57 +05:30
Kovid Goyal 68436c93a7 More work on the transfer kitten 2021-09-19 10:17:53 +05:30
Kovid Goyal a0740d1616 Use multi-phase initialization for unicode-names 2021-09-17 08:56:55 +05:30
Kovid Goyal aa9855516f Change memory allocation strategy for pending buf
Now it is allocated on demand. This prevents it from blowing up
to READ_BUF_SZ * 2 (2MB) if a small pending update is followed by a
large non pending section in the read buffer, which is commonly
triggered for instance by the transfer kitten which uses pending updates
for its screen drawing mixed with non-pending data transmission.

This is a slight performance penalty since there is a branch when
writing every char to the pending buffer, but the branch will be almost
always one sided so should be well predicted.

In any case, filling the pending buffer is not a performance bottleneck,
compared to actually dispatching parsed escape codes.
2021-09-16 20:23:15 +05:30
Kovid Goyal e12246983b Fix the upper limit for the pending buffer
The pending buffer needs to be twice the max size of the read buffer.
2021-09-16 19:53:55 +05:30
Kovid Goyal 5f32d2e56f Uppercase DELETE_ENV_VAR 2021-09-16 10:16:33 +05:30