Further overhaul of package line comments.

This commit is contained in:
Jeroen van Rijn
2025-10-09 23:05:29 +02:00
parent 2bc409eab5
commit 7a9ea3ee6d
147 changed files with 155 additions and 186 deletions
+2 -3
View File
@@ -1,7 +1,6 @@
/*
package ansi implements constant references to many widely-supported ANSI
escape codes, primarily used in terminal emulators for enhanced graphics, such
as colors, text styling, and animated displays.
Constant references to many widely-supported `ANSI` escape codes.
Primarily used in terminal emulators for enhanced graphics, such as colors, text styling, and animated displays.
For example, you can print out a line of cyan text like this:
fmt.println(ansi.CSI + ansi.FG_CYAN + ansi.SGR + "Hellope!" + ansi.CSI + ansi.RESET + ansi.SGR)