Testing done without using tmux - which is the final goalĮDIT: So as of writing this post alacritty have added undercurl, but is not part of the latest release 10.1, and has to be built from source. Any help is appreciated.īoth alacritty and windows terminal out of the box just show plain flat underline where undercurl is expected, on top of that the line is not even colored (i.e guisp is ignored ? i have set termguicolors enabled) As a point of reference i am using neovide, to make sure the hi groups are properly configured and indeed everything shows up correctly with neovide. It worked in Alacritty but not when combined with tmux. On top of that the next step is to make that work with tmux as well, which seems to open another can of worms. The very next day I started a tmux session inside of Alacritty, opened Neovim, and was aghast to see that the diagnostics were once again a pedestrian regular underline and in the wrong color to boot. I was expecting that it would just work out of the box. I am still unable to make windows terminal or even alacritty show any underline. At the moment i am testing with alacritty and windows terminal. Alacritty is a modern terminal emulator that comes with sensible defaults, but allows for extensive configuration. I am trying to make this work for multiple terminal emulators due to the fact that i am trying to make my configuration as portable as possible. It seems there is not any proper standard between different terminal emulators which establishes a common way to display undercurl text it seems (unlike underline?). A cross-platform, OpenGL terminal emulator. By way-cooler Applications written in Rust Window Managers. Also, on e.g.I have been pullin my haris for a few days now, an i am pretty confused (documentation is very lacking) on what exactly i have to do to make undercurl work. Compare Way Cooler vs alacritty and see what are their differences. Undercurl Display on Neovim and tmux with iTerm2 help tutorial nvim tmux. This leads to issues on macOS, since if we store clipboard at the same How to copy text from one pane MacOS/Tmux/Alacritty learning tmux vim dev. Information about padding, and such, however all the terminal need is The `SizeInfo` is a SizeInfo used for rendering, which contains Unexpectedly overwritten, especially in scenarios where the user isĬurrently in the process of pasting something into Alacritty.įix cell_height of impl From> for WindowSizeĮxtract `SizeInfo` from alacritty_terminal This should prevent issues where the selection of the user gets See here (at the bottom of the page) 5 MonsoonHD 2 yr. If you use Vim inside tmux in Kitty, then you also need to add some additional tmux config. The selection also isn't copied when a mouse button other than LMB/RMBĪre released, since these are the only ones capable of modifying the Iterm2 currently has limited support for undercurls I believe. To prevent the current selection clipboard from being overwritten rightīefore pasting, text is no longer copied solely because the user Remove unnecessary commas in config keybindingsįix selection copy without button release Note, plain undercurls require set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' in nf and coloured underlines & undercurls also require set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%`Ĭould have gap due to missing rounding. Tmux staged the introduction of undercurls, first via just undercurls in version 3.0 and then coloured undercurls & underlines in 3.1. Neovim added support for undercurls here. If I enter wsl, and then try echo -e '\e 4:3mTEST', the. GNOME Terminal, and other VTE-based terminals, added support for coloured undercurls a couple years back via bug 721761. How to support undercurl in alacritty for windows I installed alacritty version 0.13.0-dev (2df8f860) for windows and I am trying to get undercurl to be supported in the terminal. Kitty I believe was the first terminal to get the ball rolling, with the relevant spec listed by above. Proper undercurl support actually involves two feature enhancements those being: rendering actual undercurls, and secondly colouring underlines & undercurls separately from the character they sit beneath. Alacritty is a simple, GPU-accelerated terminal emulator written in Rust. I thought it might be handy to expand this item with some pertinent details.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |