ish-app / ish

Linux shell for iOS
https://ish.app
Other
16.34k stars 856 forks source link

remote ssh font issues #2269

Open y1rn opened 7 months ago

y1rn commented 7 months ago

there are issues on ssh zsh env.

on zsh shell image

on neovim image

minor-coder commented 2 months ago

In my case, the ligature works fine locally, but when I connect to the server via ssh, the ligature does not work.

image

minor-coder commented 2 months ago

I'm continuing to test it.

Looking at the image I attached earlier, ligature is not applied to user input in zsh, but ligature is applied to system output.

And ligature is applied to vim, but not to nvim. 😂

minor-coder commented 2 months ago

When I run the :set termguicolors command in Neovim, the ligature is applied to the entered code. However, codes entered later will not be applied.

function refresh_termguicolors()
  vim.o.termguicolors = false
  vim.o.termguicolors = true
end

vim.api.nvim_create_autocmd("InsertLeave", {
    callback = refresh_termguicolors,
})

I created a setting that automatically applies the ligature when I leave insert mode, but this is a temporary solution.

y1rn commented 2 months ago

When I run the :set termguicolors command in Neovim, the ligature is applied to the entered code. However, codes entered later will not be applied.

function refresh_termguicolors()
  vim.o.termguicolors = false
  vim.o.termguicolors = true
end

vim.api.nvim_create_autocmd("InsertLeave", {
    callback = refresh_termguicolors,
})

I created a setting that automatically applies the ligature when I leave insert mode, but this is a temporary solution.

same

When I run the :set termguicolors command in Neovim, the ligature is applied to the entered code. However, codes entered later will not be applied.

function refresh_termguicolors()
  vim.o.termguicolors = false
  vim.o.termguicolors = true
end

vim.api.nvim_create_autocmd("InsertLeave", {
    callback = refresh_termguicolors,
})

I created a setting that automatically applies the ligature when I leave insert mode, but this is a temporary solution.

same