mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 02:16:58 +00:00
fix: Fallback color for terminal color if disable in bshrc
This commit is contained in:
@@ -974,6 +974,7 @@ static bool command_starts_with(const char *prefix) {
|
|||||||
|
|
||||||
static void update_input_color(TerminalSession *s) {
|
static void update_input_color(TerminalSession *s) {
|
||||||
if (!s->colors_enabled) {
|
if (!s->colors_enabled) {
|
||||||
|
s->input_color = s->fg_color;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user