fix: prompt Vauco bold bright green via ANSI escape sequence [Phase 4]

This commit is contained in:
chrischristiansen-glitch 2026-05-22 03:36:11 +02:00
parent dc02b5d877
commit 2ce021a4e1

View File

@ -135,16 +135,14 @@ Write-Host " ■ STATUS" -ForegroundColor $PU
StatusLine $gitTxt; StatusLine $gcTxt; StatusLine $adcTxt; StatusLine $opaxTxt StatusLine $gitTxt; StatusLine $gcTxt; StatusLine $adcTxt; StatusLine $opaxTxt
Write-Host "" Write-Host ""
# Ingen bunn-boks — status-linjene er avslutning
# ============================================================== # ==============================================================
# CUSTOM PROMPT # CUSTOM PROMPT — ANSI direkte via [System.Console]::Write
# ============================================================== # ==============================================================
function prompt { function prompt {
Write-Host " G:\Shared-drives\" -NoNewline -ForegroundColor Magenta # Lilla: \e[35m Hvit: \e[97m Bold bright green: \e[1;92m Reset: \e[0m
Write-Host "OS" -NoNewline -ForegroundColor White [System.Console]::Write("`e[35m G:\Shared-drives\`e[0m")
# Sterkt grønn glødende OSVauco via ANSI bold [System.Console]::Write("`e[97mOS`e[0m")
$e = [char]27 [System.Console]::Write("`e[1;92mVauco`e[0m")
Write-Host "${e}[1;92mVauco${e}[0m" -NoNewline [System.Console]::Write("`e[1;92m `e[0m")
Write-Host " " -NoNewline -ForegroundColor Green
return " " return " "
} }