mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
chore: adjust powerline symbol to glyph
This commit is contained in:
parent
d29a6befd9
commit
0fbc8910bd
|
@ -222,7 +222,7 @@ The following sample is based on the [AWS Segment][aws].
|
||||||
{
|
{
|
||||||
"type": "aws",
|
"type": "aws",
|
||||||
"style": "powerline",
|
"style": "powerline",
|
||||||
"powerline_symbol": "",
|
"powerline_symbol": "\uE0B0",
|
||||||
"foreground": "#ffffff",
|
"foreground": "#ffffff",
|
||||||
"background": "#111111",
|
"background": "#111111",
|
||||||
"foreground_templates": [
|
"foreground_templates": [
|
||||||
|
|
|
@ -14,7 +14,7 @@ Display the currently active Angular CLI version.
|
||||||
{
|
{
|
||||||
"type": "angular",
|
"type": "angular",
|
||||||
"style": "powerline",
|
"style": "powerline",
|
||||||
"powerline_symbol": "",
|
"powerline_symbol": "\uE0B0",
|
||||||
"foreground": "#000000",
|
"foreground": "#000000",
|
||||||
"background": "#1976d2",
|
"background": "#1976d2",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -14,7 +14,7 @@ Display the currently active Azure functions CLI version.
|
||||||
{
|
{
|
||||||
"type": "azfunc",
|
"type": "azfunc",
|
||||||
"style": "powerline",
|
"style": "powerline",
|
||||||
"powerline_symbol": "",
|
"powerline_symbol": "\uE0B0",
|
||||||
"foreground": "#ffffff",
|
"foreground": "#ffffff",
|
||||||
"background": "#FEAC19",
|
"background": "#FEAC19",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -14,7 +14,7 @@ Display the currently active .NET SDK version.
|
||||||
{
|
{
|
||||||
"type": "dotnet",
|
"type": "dotnet",
|
||||||
"style": "powerline",
|
"style": "powerline",
|
||||||
"powerline_symbol": "",
|
"powerline_symbol": "\uE0B0",
|
||||||
"foreground": "#000000",
|
"foreground": "#000000",
|
||||||
"background": "#00ffff",
|
"background": "#00ffff",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -18,7 +18,7 @@ The Nerdbank.GitVersioning CLI can be a bit slow causing the prompt to feel slow
|
||||||
{
|
{
|
||||||
"type": "nbgv",
|
"type": "nbgv",
|
||||||
"style": "powerline",
|
"style": "powerline",
|
||||||
"powerline_symbol": "",
|
"powerline_symbol": "\uE0B0",
|
||||||
"foreground": "#ffffff",
|
"foreground": "#ffffff",
|
||||||
"background": "#3a579a",
|
"background": "#3a579a",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -32,8 +32,8 @@ func TestStringImageFileWithText(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestStringImageFileWithANSI(t *testing.T) {
|
func TestStringImageFileWithANSI(t *testing.T) {
|
||||||
prompt := `[38;2;0;55;218;49m[7m[m[0m[48;2;0;55;218m[38;2;255;255;255m oh-my-posh
|
prompt := `[38;2;0;55;218;49m[7m\uE0B0[m[0m[48;2;0;55;218m[38;2;255;255;255m oh-my-posh
|
||||||
[0m[48;2;193;156;0m[38;2;0;55;218m[0m[48;2;193;156;0m[38;2;17;17;17m main ≡ ~4 -8 ?7 [0m[38;2;193;156;0m[0m
|
[0m[48;2;193;156;0m[38;2;0;55;218m\uE0B0[0m[48;2;193;156;0m[38;2;17;17;17m main ≡ ~4 -8 ?7 [0m[38;2;193;156;0m\uE0B0[0m
|
||||||
[37m [0m[0m`
|
[37m [0m[0m`
|
||||||
err := runImageTest(prompt)
|
err := runImageTest(prompt)
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
|
|
Loading…
Reference in a new issue