Merge hotfix-linechart
This commit is contained in:
commit
10897a812a
@ -27,7 +27,7 @@ The `Border` property can be chosen to hide or display (with its border label),
|
||||
}
|
||||
defer ui.Close()
|
||||
|
||||
p := ui.NewP(":PRESS q TO QUIT DEMO")
|
||||
p := ui.NewPar(":PRESS q TO QUIT DEMO")
|
||||
p.Height = 3
|
||||
p.Width = 50
|
||||
p.TextFgColor = ui.ColorWhite
|
||||
@ -64,11 +64,11 @@ termui.UseTheme("helloworld")
|
||||
```
|
||||
The `default ` theme's settings depend on the user's terminal color scheme, which is saying if your terminal default font color is white and background is white, it will be like:
|
||||
|
||||
<img src="./example/themedefault.tiff" alt="default" type="image/tiff" width="600">
|
||||
<img src="./example/themedefault.png" alt="default" type="image/png" width="600">
|
||||
|
||||
The `helloworld` color scheme drops in some colors!
|
||||
|
||||
<img src="./example/themehelloworld.tiff" alt="helloworld" type="image/tiff" width="600">
|
||||
<img src="./example/themehelloworld.png" alt="helloworld" type="image/png" width="600">
|
||||
|
||||
## Widgets
|
||||
|
||||
|
BIN
example/themedefault.png
Normal file
BIN
example/themedefault.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 103 KiB |
Binary file not shown.
BIN
example/themehelloworld.png
Normal file
BIN
example/themehelloworld.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 88 KiB |
Binary file not shown.
Loading…
Reference in New Issue
Block a user