Commit Graph
11306 Commits
Author SHA1 Message Date
Kovid Goyal 4f9ed6546a Pass key events mapped to scroll actions to the program running in the terminal when the terminal is in alternate screen mode
Fixes #5839
2022-12-30 08:54:31 +05:30
Kovid Goyal c76bbeabd6 ... 2022-12-30 08:34:58 +05:30
Kovid Goyal 0f24ce60f8 Fix @ send-text --stdin always assuming STDIN is a tty 2022-12-30 08:29:30 +05:30
Kovid Goyal 6a06769931 ... 2022-12-29 17:27:57 +05:30
Kovid Goyal 468b6fab02 Also use sanitized URL for allow_hyperlinks=ask 2022-12-29 17:05:18 +05:30
Kovid Goyal 306f9e5735 Prettify URLs before displaying them to the user 2022-12-29 17:04:02 +05:30
Kovid Goyal f4ac03b791 Show the target of terminal hyperlinks when hovering over them with the mouse
Fixes #5830
2022-12-29 16:43:45 +05:30
Kovid Goyal b8abdd2b50 Retry failed deletes from github 2022-12-29 12:50:16 +05:30
Kovid Goyal e673747ef4 readline: add alt+arrow to move by word default binding. Common on macOS 2022-12-27 10:59:13 +05:30
Kovid Goyal 6e4376e44e A few more wrapping serialization tests 2022-12-27 09:11:15 +05:30
Kovid Goyal f6801d48d1 Add a test to ensure \n does not change wrapping status 2022-12-27 08:48:26 +05:30
Kovid Goyal ca57198927 Merge branch 'patch-1' of https://github.com/eltociear/kitty 2022-12-26 21:00:33 +05:30
Ikko Ashimine e78000c879 Fix typo in iqsort.h
comparision -> comparison
2022-12-27 00:27:16 +09:00
Kovid Goyal 68cf9f7514 Switch to tracking linewrap on the last cell in a line
This allows us to have newline not affect the wrap status of a line.

Now a lines wrapping status is changed only when the last cell
in the line is changed. This actually matches the behavior of many other
terminal emulators so is probably a good thing from a ecosystem
compatibility perspective.

The fish shell expects this weird behavior of newline not changing
wrapping status, for unknown reasons, which is the actual motivation for
doing all this work.

Fixes #5766
2022-12-26 20:26:21 +05:30
Kovid Goyal 4556f5b8f1 Merge branch 'pr-fix-image-scrolling' of https://github.com/sergei-grechanik/kitty 2022-12-26 09:51:22 +05:30
Sergei Grechanik 32d8aac808 Fix scrolling images within margins
This commit fixes an off-by-one error in image scrolling that caused
images to not be scrolled or to be cropped at the wrong line.
2022-12-25 15:34:54 -08:00
Kovid Goyal 2e81d00c92 make go fmt happy 2022-12-24 10:53:17 +05:30
Kovid Goyal cd92d50a0d Keyboard protocol: Remove CSI R from the allowed encodings of the F3 key as it conflicts with the *Cursor Position Report* escape code 2022-12-24 10:32:28 +05:30
Kovid Goyal 155dd426c5 Merge branch 'ssh-kitten' of https://github.com/page-down/kitty 2022-12-24 10:04:58 +05:30
pagedown a8f2816ac2 ssh kitten: Compile terminfo with tic coming from pkgsrc under NetBSD 2022-12-24 11:53:52 +08:00
pagedown 0ddc5d030c ssh kitten: Fall back to using openssl when base64 does not exist 2022-12-24 11:53:45 +08:00
Kovid Goyal a2c2d81373 Cleanup readline prompt rendering 2022-12-23 15:23:42 +05:30
Kovid Goyal 307ce1cf87 Remove not needed wrapper function since now we use a struct to set attrs 2022-12-23 13:50:55 +05:30
Kovid Goyal 61ceb12e07 Merge branch 'singlekey-endian' of https://github.com/jamessan/kitty
Fixes #5802
2022-12-23 08:12:23 +05:30
James McCoy b45dc20693 Define SingleKey bitfields according to endianness
Closes #5802
2022-12-22 15:07:54 -05:00
Kovid Goyal bcedbe5ec1 Revert "Change the terminfo entry for cud1 to not alter text to comply with the terminfo man page"
This reverts commit d8284befd3.
See https://github.com/kovidgoyal/kitty/issues/5766#issuecomment-1363025173
2022-12-22 21:49:32 +05:30
Kovid Goyal 038639e2d3 Bump bundled zlib 2022-12-22 19:26:34 +05:30
Kovid Goyal c857492f37 Merge pull request #5803 from jamessan/runtime-dir
tests: Use tempdir for XDG_RUNTIME_DIR
2022-12-22 11:07:44 +05:30
Kovid Goyal 42923ab673 ... 2022-12-22 10:19:34 +05:30
James McCoy 9afd0309fc tests: Use tempdir for XDG_RUNTIME_DIR 2022-12-21 22:21:48 -05:00
Kovid Goyal b9d098de2d Update mpv support link to point to the actual merged commit 2022-12-22 07:16:53 +05:30
Kovid Goyal 09e6f740de Merge branch 'macos-shortcuts' of https://github.com/page-down/kitty 2022-12-21 16:41:43 +05:30
pagedown 1023084eb9 macOS: Allow to customize Hide, Minimize, and Quit global menu shortcuts
All previously hard-coded shortcuts under macOS can be configured now.
2022-12-20 21:08:26 +08:00
Kovid Goyal aa9679e56b Fix typo in key definition 2022-12-20 15:01:40 +05:30
Kovid Goyal d8284befd3 Change the terminfo entry for cud1 to not alter text to comply with the terminfo man page
Fixes #5766
2022-12-20 09:16:05 +05:30
Kovid Goyal e4ee2cf995 Move the alt+left/right binding into zsh integration
It works OOTB in bash and fish already.
2022-12-19 11:25:12 +05:30
Kovid Goyal e3f6f47f10 ... 2022-12-19 05:35:18 +05:30
Kovid Goyal e5941b1b44 Add a link for the vim t_ut issue 2022-12-18 22:32:20 +05:30
Kovid Goyal 65c64d8745 macOS: Bind :kbd:option+left and :kbd:option+right to :kbd:alt+b and :kbd:alt+f. This mimics the default bindings in Terminal.app
Fixes #5793
2022-12-18 20:34:42 +05:30
Kovid Goyal 40093a4702 Add tests for GraphicsCommand serialization 2022-12-18 11:56:30 +05:30
Kovid Goyal 3815cba8f3 Add stringer interface to GraphicsCommand 2022-12-17 15:34:43 +05:30
Kovid Goyal 7410cd62f9 remove unused code 2022-12-17 09:00:44 +05:30
Kovid Goyal ae0a8e73d2 ... 2022-12-17 08:59:56 +05:30
Kovid Goyal 8f3a8c828f Add an APC to GraphicsCommand parser 2022-12-16 21:05:17 +05:30
Kovid Goyal 6efb5dc2c2 Auto-create an OS Window if none exists on new_tab 2022-12-16 19:34:37 +05:30
Kovid Goyal bb33f6c0ac Start work on graphics support in kitty-tool 2022-12-16 18:06:52 +05:30
Kovid Goyal d34284ee1c Merge branch 'docs' of https://github.com/page-down/kitty 2022-12-16 13:06:20 +05:30
pagedown 74cae7b787 ... 2022-12-16 14:27:02 +08:00
Kovid Goyal c6360537e5 Try to fix tests failing on Python 3.11 2022-12-16 10:05:05 +05:30
Kovid Goyal 7d28d7413f Merge branch 'patch-1' of https://github.com/lodisy/kitty 2022-12-16 09:41:10 +05:30