Commit Graph

754 Commits

Author SHA1 Message Date
Kovid Goyal
ea5634b3fd When parsing theme metadata ignore the name if it is the placeholder value from the template 2023-05-03 21:55:33 +05:30
Kovid Goyal
59c4d4a4bd DRYer 2023-04-28 20:30:15 +05:30
Kovid Goyal
ef999c9024 Also show stderr from tmux on failure 2023-04-28 20:16:37 +05:30
Kovid Goyal
514888a274 Use FindExe to find the tmux executable and return a nicer error message when running tmux fails 2023-04-28 20:11:15 +05:30
Kovid Goyal
019359b219 show_key kitten: In kitty mode show the actual bytes sent by the terminal rather than a re-encoding of the parsed key event
Also port the kitten to Go
2023-04-26 21:48:53 +05:30
Kovid Goyal
7b6d11fd1e Fix rendering of :doc: links with explicit titles in help text in the terminal 2023-04-26 16:46:20 +05:30
Kovid Goyal
6a07435bb0 hints kitten: Fix regression causing editing of favorites to sometimes hang 2023-04-26 15:23:38 +05:30
Kovid Goyal
a09464dee9 Fix a regression in the previous release that broke usage of custom themes
Fixes #6191
2023-04-17 08:45:46 +05:30
Kovid Goyal
b966013a2b Make Samefile interface a bit nicer for working with paths 2023-04-17 08:35:50 +05:30
Kovid Goyal
046fbb860b themes kitten: ignore custom theme files if they are stdout 2023-04-17 08:02:41 +05:30
Kovid Goyal
91700b3e42 Fix a bug in the Go code of the CSI key event parser
Fixes #6189
2023-04-16 15:31:56 +05:30
Kovid Goyal
7803b07e7f Ignore leading and trailing space around values when parsing config lines 2023-04-06 10:45:34 +05:30
Kovid Goyal
912aa17594 ... 2023-04-05 08:08:54 +05:30
Kovid Goyal
708267d229 Fix parsing of actions in map directives in Go 2023-04-05 07:55:18 +05:30
Kovid Goyal
3ee77a3a57 Fix #6154 2023-04-04 21:18:27 +05:30
Kovid Goyal
9919767aef Remove unused code 2023-03-30 10:26:39 +05:30
Kovid Goyal
57ef0e29c0 Wait for keypress on panic in alternate screen kittens 2023-03-30 08:26:45 +05:30
Kovid Goyal
266746c96e Implement the trim_whitespace option
Needed for help text formatting
2023-03-29 21:28:47 +05:30
Kovid Goyal
34526517de Allow passing multiple options to control how wrapping is done 2023-03-29 20:56:24 +05:30
Kovid Goyal
cb99fbd83c Dont remove leading and trailing spaces when wrapping
Without this we lose some spaces and also there was a case where the
line could end up longer than the specified width.
2023-03-29 20:47:31 +05:30
Kovid Goyal
37edc728a9 Implement drag scrolling for the diff kitten 2023-03-29 17:14:13 +05:30
Kovid Goyal
05e10d8066 Also parse negative numbers in CSI 2023-03-29 15:12:22 +05:30
Kovid Goyal
aebfdaa69a Refactor diff mouse selection to use new render layout 2023-03-29 14:32:36 +05:30
Kovid Goyal
468168b9de Refactor diff search to use new render layout 2023-03-29 13:22:34 +05:30
Kovid Goyal
67a9def013 Get copy to primary selection working 2023-03-28 17:15:28 +05:30
Kovid Goyal
676f576ace Adjust the bounds of the mouse selection taking starting half cell into account 2023-03-28 15:12:41 +05:30
Kovid Goyal
8867818dfe DRYer 2023-03-28 11:55:08 +05:30
Kovid Goyal
00d4841304 Make the mouse selection code re-useable 2023-03-28 11:48:22 +05:30
Kovid Goyal
94db6053d5 Turn off atomic update during direct transmission 2023-03-27 20:54:03 +05:30
Kovid Goyal
6dfe823dfb ... 2023-03-27 17:05:57 +05:30
Kovid Goyal
71580a2a93 Fix wheel event detection 2023-03-27 16:35:29 +05:30
Kovid Goyal
6504dd15c1 Update folder README 2023-03-27 13:20:10 +05:30
Kovid Goyal
ff55121094 Move the kittens Go code into the kittens folder 2023-03-27 13:06:02 +05:30
Kovid Goyal
3f9579d61d Port the removed walk test to Go 2023-03-27 12:34:31 +05:30
Kovid Goyal
fb9d95038d Free images in kitty when quitting diff kitten 2023-03-27 11:13:04 +05:30
Kovid Goyal
a3f1d3e132 Get image display working 2023-03-27 11:00:21 +05:30
Kovid Goyal
9cc54978e6 Fix margin formatting for binary lines 2023-03-27 08:23:10 +05:30
Kovid Goyal
d66da811db More work on getting images to display in diff 2023-03-27 07:53:57 +05:30
Kovid Goyal
cece795b16 More work on image support for diff 2023-03-27 07:53:57 +05:30
Kovid Goyal
9eedcc1d2a Better struct name 2023-03-27 07:53:57 +05:30
Kovid Goyal
508a61bd1c More work on diffing images 2023-03-27 07:53:57 +05:30
Kovid Goyal
c745961f47 Nicer error messages for failure to load with Magick 2023-03-27 07:53:57 +05:30
Kovid Goyal
be886f9bf9 Make code for loading images with ImageMagick re-useable 2023-03-27 07:53:57 +05:30
Kovid Goyal
404a775f4b Start work on image support for new diff kitten 2023-03-27 07:53:57 +05:30
Kovid Goyal
18445e20ff ... 2023-03-27 07:53:57 +05:30
Kovid Goyal
7b16132b75 Fix searching in full title lines 2023-03-27 07:53:57 +05:30
Kovid Goyal
0a8fc3f17c ... 2023-03-27 07:53:57 +05:30
Kovid Goyal
d57e47349b Make searches case insensitive 2023-03-27 07:53:57 +05:30
Kovid Goyal
ccf1dfabbc Fix highlighting of center changes 2023-03-27 07:53:56 +05:30
Kovid Goyal
de9edb6ff5 Manually specify the closing SGR for a span 2023-03-27 07:53:56 +05:30