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
Write-Host ""
# Ingen bunn-boks — status-linjene er avslutning
# ==============================================================
# CUSTOM PROMPT
# CUSTOM PROMPT — ANSI direkte via [System.Console]::Write
# ==============================================================
function prompt {
Write-Host " G:\Shared-drives\" -NoNewline -ForegroundColor Magenta
Write-Host "OS" -NoNewline -ForegroundColor White
# Sterkt grønn glødende OSVauco via ANSI bold
$e = [char]27
Write-Host "${e}[1;92mVauco${e}[0m" -NoNewline
Write-Host " " -NoNewline -ForegroundColor Green
# Lilla: \e[35m Hvit: \e[97m Bold bright green: \e[1;92m Reset: \e[0m
[System.Console]::Write("`e[35m G:\Shared-drives\`e[0m")
[System.Console]::Write("`e[97mOS`e[0m")
[System.Console]::Write("`e[1;92mVauco`e[0m")
[System.Console]::Write("`e[1;92m `e[0m")
return " "
}