Skip to content

Commit a1d9d77

Browse files
committed
Update terminal.css
1 parent 9d59280 commit a1d9d77

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

app/static/css/terminal.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,23 @@
147147
background-color: #0c0c0c !important;
148148
}
149149

150+
/* Ensure xterm.js text color from JS theme is respected */
151+
.terminal-display .xterm-rows span {
152+
color: #cccccc !important; /* Matches foreground in getTerminalColors() */
153+
}
154+
155+
/* The following rules for cursor and selection should be removed or commented out
156+
.terminal-display .xterm-cursor-layer .xterm-cursor {
157+
background-color: #ffffff !important;
158+
color: #0c0c0c !important;
159+
}
160+
161+
.terminal-display ::selection {
162+
background-color: #ffffff !important;
163+
color: #0c0c0c !important;
164+
}
165+
*/
166+
150167
/* CRITICAL: XTerm.js container */
151168
#terminal {
152169
width: 100%;

0 commit comments

Comments
 (0)