Skip to content

Commit

Permalink
chore: latest backport changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesmithgh committed Dec 20, 2024
1 parent bb45cb9 commit 8cd1257
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lua/kitty-scrollback/backport/_system.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- NOTE: copied from
-- https://github.com/neovim/neovim/blob/ca760e645ba4d1fdb0b6fff3ac98231c3d683306/runtime/lua/vim/_system.lua
-- https://github.com/neovim/neovim/blob/909b18d05a8d472b12c156e1663282bf6f5ce307/runtime/lua/vim/_system.lua

---@diagnostic disable
local uv = vim.uv
Expand Down Expand Up @@ -83,7 +83,8 @@ function SystemObj:_timeout(signal)
self:kill(signal or SIG.TERM)
end

local MAX_TIMEOUT = 2 ^ 31
-- Use max 32-bit signed int value to avoid overflow on 32-bit systems. #31633
local MAX_TIMEOUT = 2 ^ 31 - 1

--- @param timeout? integer
--- @return vim.SystemCompleted
Expand Down
2 changes: 1 addition & 1 deletion lua/kitty-scrollback/backport/backport-sha.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"runtime/lua/vim/_system.lua": "e61df4f00b40b99b47f397b24d03332b17a42ab52aad2c96cb922e887853fdac",
"runtime/lua/vim/_system.lua": "3bbc4a1c066f050fc21d1347ecfc17cda4d4c84b10ab6aa7207da05309861b13",
"runtime/lua/vim/version.lua": "681dafb4dad3ca135047112b5c744f1c54759eea4676a94c55cbe0ffce0eb930"
}

0 comments on commit 8cd1257

Please sign in to comment.