Skip to content

Commit 9ae7c4c

Browse files
authored
fix: fixes cursor color on shell (#3738)
1 parent 076f5d0 commit 9ae7c4c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

assets/components/Terminal.vue

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,21 @@ onUnmounted(() => {
7575
& :deep(.xterm-rows) {
7676
@apply text-base-content;
7777
}
78+
79+
& :deep(.xterm-cursor-block.xterm-cursor-blink) {
80+
animation-name: blink !important;
81+
}
82+
}
83+
84+
@keyframes blink {
85+
0% {
86+
background-color: var(--color-base-content);
87+
color: #000000;
88+
}
89+
90+
50% {
91+
background-color: inherit;
92+
color: var(--color-base-content);
93+
}
7894
}
7995
</style>

0 commit comments

Comments
 (0)