From cc07b1f79dd66938165e125deb117b244898f620 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 13 Apr 2022 22:50:24 +0530 Subject: [PATCH] Use 2048 chunk size in fish as well --- .../fish/vendor_conf.d/kitty-shell-integration.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish b/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish index 0a8de96e6..148ee1180 100644 --- a/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish +++ b/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish @@ -127,8 +127,8 @@ function clone-in-kitty -d "Clone the current fish session into a new kitty wind set --function data_len (builtin string length "$data") echo $data_len while builtin test $pos -le $data_len; - set -l chunk (builtin string sub -s $pos -l 1024 $data) - set --function pos (math $pos + 1024) + set -l chunk (builtin string sub -s $pos -l 2048 $data) + set --function pos (math $pos + 2048) builtin printf '\eP@kitty-clone|%s:%s\e\\' "$chunk_num" "$chunk" # ' set --function chunk_num (math $chunk_num + 1) end