You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]Emacs vterm with system theme has unexpected characters[/-][+]Emacs vterm should default to system theme to avoid confusion[/+]on Oct 9, 2025
Additionally, the loading symbols in the bottom-left corner are causing the UI to shift in libvterm (and also in the installation script).
This is a font issue, though, because ・(U+FF65) is a CJK character that is not present in most Latin fonts. Given the nature of Emacs as an editor, it will fall back to a non-monospace font for that character. Similarly, ⬝(U+2B1D) is also not present in most fonts, although it is not a CJK character.
My current solution is to replace both characters with the "Middle Dot"·(U+00B7):
(defvarmy-vterm-display-table (make-display-table))
;; Map U+2B1D (Black Very Small Square) to display as U+00B7 (Middle Dot)
(aset my-vterm-display-table ?\u2B1D (vector?\u00B7))
;; Map U+FF65 (Halfwidth Katakana Middle Dot) to display as U+00B7 (Middle Dot)
(aset my-vterm-display-table ?\uFF65 (vector?\u00B7))
(add-hook'vterm-mode-hook
(lambda ()
(setq buffer-display-table my-vterm-display-table)))
Preventing the use of characters that are not available in monospace fonts might fix these kinds of issues.
Activity
unholywhale commentedon Jul 6, 2025
@paralin does it just work for you by default? This is how it looks for me in vterm (Emacs 30.1). Also, does scrolling work for you?
paralin commentedon Jul 6, 2025
Looks good now with "system" theme
paralin commentedon Oct 9, 2025
Fixed by setting the "system" theme:
Write to ~/.config/opencode/opencode.jsonc
{ "$schema": "https://opencode.ai/config.json", "theme": "system" }I would recommend automatically defaulting to this if vterm is detected
[-]Emacs vterm with system theme has unexpected characters[/-][+]Emacs vterm should default to system theme to avoid confusion[/+][-]Emacs vterm should default to system theme to avoid confusion[/-][+]Emacs vterm should default to system theme[/+]prasanthkrishnan commentedon Nov 4, 2025
On doom emacs, I am not able to scroll to the previous page when using open code via libvterm. Any suggestions?
WuuBoLin commentedon Dec 10, 2025
I have the same question as @prasanthkrishnan.
Additionally, the loading symbols in the bottom-left corner are causing the UI to shift in libvterm (and also in the installation script).

This is a font issue, though, because
・(U+FF65) is a CJK character that is not present in most Latin fonts. Given the nature of Emacs as an editor, it will fall back to a non-monospace font for that character. Similarly,⬝(U+2B1D) is also not present in most fonts, although it is not a CJK character.My current solution is to replace both characters with the "Middle Dot"
·(U+00B7):Preventing the use of characters that are not available in monospace fonts might fix these kinds of issues.
fix: export run() to avoid Windows spawnSync issues (anomalyco#431)
docs: add OpenWork 10x audit and quality pass (anomalyco#431)