3 ms·
Easy fix: Use a more featureful (and more spec compliant) terminal emulator, like Kitty or WezTerm, and enable the Kitty keyboard protocol. If you’re using iTe
by cstrahan 3y ago
Easy fix: Use a more featureful (and more spec compliant) terminal emulator, like Kitty or WezTerm, and enable the Kitty keyboard protocol.
If you’re using iTerm, or Konsole, or Gnome Terminal, or urxvt, or… pretty much anything other than Kitty or WezTerm, you owe it to yourself to make the switch.
Personally, I use WezTerm.
Support for Windows, macOS and Linux. Better configuration. Better font rendering. Built-in fallback to Nerd Font for vscode-like icons in your editor of choice (I use neovim), so you don’t need to patch your font. Supports the Kitty keyboard protocol, and image display. Tons of features, too many to list here.
https://wezfurlong.org/wezterm/ https://wezfurlong.org/wezterm/
https://sw.kovidgoyal.net/kitty/ https://sw.kovidgoyal.net/kitty/
- CGamesPlay 3y agoNeat, there is a tracking issue to add support in the iTerm2 repo as well: https://gitlab.com/gnachman/iterm2/-/issues/10017 https://gitlab.com/gnachman/iterm2/-/issues/10017
- Fnoord 3y agoHow does it compare to Alacrity?
- cstrahan 3y agoIt's been a while since I looked at Alacritty, so I've tried to double check things, but feel free to add corrections in the comments in case I get some of this wrong. Features WezTerm has that Alacritty doesn't: 1) iTerm Image Protocol (inline image display) 2) Kitty Keyboard Protocol (allows for keybindings that otherwise wouldn't be possible) 3) Semantic prompts (e.g. you can configure a keybinding to navigate in your scrollback to the previous/next prompt) 4) Built-in SSH support. Creating new tabs or panes will each create a new channel in your existing session so you won't need to re-authenticate for additional tabs that you create. 5) Alternatively, you could use WezTerm's multiplexing support. Think tmux (remote sessions persist even when you disconnect, and reconnecting gives you all of the existing windows/tabs/panes again), but graphical and built into the terminal emulator. 6) Config is written in Lua, and you can use that for clever automation, new keybindings, custom formatting of window/tab titles, etc. 7) Multiple fonts can be specified, where glyph rendering will attempt to fallback to the other fonts when not found. Advanced font shaping configuration -- you could do things like enable/disable ligatures, enable font options (if the font supports it) for alternative styling, like having zeros render with a dot or slash (to differentiate from a capital letter 'O'). Those are just some of the things I could think of real quick. Definitely recommend skimming the WezTerm documentation site.