дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 17:21:13 +02:00
Symbols that fall back to a wider font (U+23F2/U+23F1 via STIX Two Math on macOS, drawn with negative letter-spacing) and non-PUA Nerd Font symbols were clipped by the next cell's background: only Private Use Area icons were lifted. Spans measured wider than their cell are lifted too, the class survives link-hover redraws, the rule is shared with embedded terminals, and full-width Nerd Font faces come before their Mono variants in the fallback list. Co-authored-by: dengliu <[email protected]>
16 рядки
644 B
CSS
16 рядки
644 B
CSS
/*
|
|
* xterm reads IME commits from its hidden textarea. Its `white-space: nowrap` makes WebKit
|
|
* store a typed trailing space as U+00A0, so a space committed by an IME (Fcitx5 on Linux)
|
|
* reached the shell as a non-breaking space. `pre` keeps the line unwrapped and the space a space.
|
|
*/
|
|
.xterm textarea.xterm-helper-textarea {
|
|
white-space: pre;
|
|
}
|
|
|
|
/* An icon or fallback symbol wider than its cell stays over the next cell's background
|
|
(domRowCache), while selected spans keep xterm's `.xterm-decoration-top` z-index (2). */
|
|
.xterm .xterm-rows .openidea-terminal-icon:not(.xterm-decoration-top) {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|