mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00:00
Use 2048 chunk size in fish as well
This commit is contained in:
parent
3ddea42660
commit
cc07b1f79d
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue