You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,7 @@ func main() {
129
129
130
130
### Making custom Box
131
131
132
-
You can make your custom Box by using the inbuilt Box struct provided by the module.
132
+
You can also make your custom Box by using the inbuilt Box struct provided by the module.
133
133
134
134
```go
135
135
typeBoxstruct {
@@ -143,7 +143,7 @@ type Box struct {
143
143
}
144
144
```
145
145
146
-
Using it:
146
+
An example:
147
147
148
148
```go
149
149
package main
@@ -201,7 +201,7 @@ Here's a list of 24 bit [supported terminals](https://gist.github.com/XVilka/834
201
201
202
202
This module also enables **True Color** and **256 Colors** support on Windows Console through [Virtual Terminal Processing](https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences) but you need have at least [Windows 10 Version 1511](https://en.wikipedia.org/wiki/Windows_10_version_history_(version_1511)) for 256 colors or [Windows 10 Version 1607](https://en.wikipedia.org/wiki/Windows_10_version_history_(version_1607)) for True Color Support.
203
203
204
-
4-bit Colors are now standardized so it is supported by all terminals now.
204
+
4-bit Colors are now standardized so it should supported by all terminals now.
205
205
206
206
If `ConEmu` or `ANSICON` is installed for Windows systems then it will be also detected. It is highly recommended to use the latest versions of both of them to have the best experience!
207
207
@@ -218,7 +218,7 @@ It uses [mattn/go-runewidth](https://github.com/mattn/go-runewidth) for Unicode
218
218
-`Windows Terminal`, `ConEmu` and `Mintty` are the only know terminal emulators which can render Unicode and Emojis properly on Windows.
219
219
- Indic Text only works on very few Terminals as less support it.
220
220
- It is recommended not to use this for Online Playgrounds like [`Go Playground`](https://play.golang.org/) and [`Repl.it`](https://repl.it), `CI/CDs` etc. because they use a font that only has ASCII support and other Character Set is used which becomes problematic for finding the length as the font changes during runtime.
221
-
-Change your font which supports Unicode and Emojis else the right vertical alignment will break.
221
+
-Some changes will be needed to your font which supports Unicode and Emojis else the right vertical alignment will break.
222
222
223
223
#### 3. Terminal Color Detection
224
224
@@ -232,7 +232,7 @@ The following two points are just applicable for **Unix** systems:
232
232
233
233
- If you are targetting 8 bit color based terminals and the module couln't detect it then set your environment variable `TERM` to name of the terminal emulator with `256color` as suffix like `xterm-256color`.
234
234
235
-
There might be no color effect for very old terminals like [`Windows Console (Legacy Mode)`](https://docs.microsoft.com/en-us/windows/console/legacymode) or environment variable `TERM` give `DUMB` so it will output some garbage value or a warning if used.
235
+
There might be no color effect for very old terminals like [`Windows Console (Legacy Mode)`](https://docs.microsoft.com/en-us/windows/console/legacymode) or `TERM`environment variable which gives `DUMB` so the module will output some garbage value or a warning if used.
236
236
237
237
In `Online Playgrounds`, `CI/CDs`, `Browsers` etc, it is recommended **not** to use this module with color effect as few may have it but this is hard to detect in general. If you think that it's possible then open an issue and address the solution!
0 commit comments