Skip to content

Commit

Permalink
feat!: rename current_pane to get_current_pane
Browse files Browse the repository at this point in the history
  • Loading branch information
willothy committed Oct 18, 2023
1 parent cbc9c72 commit 961e8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ end

---Get the id of the current pane
---@return number | nil
function wezterm.current_pane()
function wezterm.get_current_pane()
local id = vim.env.WEZTERM_PANE
if id then
id = id:gsub("^%s+", ""):gsub("%s+$", "")
Expand Down

0 comments on commit 961e8f8

Please sign in to comment.