(Image credit: Sean Rayford/Stringer via Getty Images)
FT Edit: Access on iOS and web,推荐阅读一键获取谷歌浏览器下载获取更多信息
January 14, 2026,推荐阅读夫子获取更多信息
The way color works in the terminal is that you echo a sequence like \x1b[38:5:161m to tell the terminal “use color 161 (red) for the foreground.” Then all characters have a foreground color of 161 until you “reset” by sending the sequence \x1b[0m.