powerline?

This commit is contained in:
Zacharias-Brohn
2025-12-16 22:18:14 +01:00
parent 1855fba32f
commit 6621c347e0
+5 -8
View File
@@ -35,15 +35,12 @@ M.config = {
}, },
} }
-- Send raw escape sequence to the terminal, bypassing neovim's terminal handling. -- Send raw escape sequence to the terminal.
-- We spawn a shell process to write directly to the TTY, which bypasses neovim completely. -- For navigation, io.write works fine. For statusline, we need a different approach
-- to avoid corruption when the content contains escape sequences.
local function send_to_tty(str) local function send_to_tty(str)
-- Use printf in a subprocess - this writes directly to the terminal io.write(str)
-- The subprocess inherits the TTY and can write to it directly io.flush()
vim.fn.jobstart({ 'printf', '%s', str }, {
detach = true,
on_exit = function() end,
})
end end
-- Send OSC 51 command to ZTerm for pane navigation -- Send OSC 51 command to ZTerm for pane navigation