From ba1c6d30ede4fe7734f975f4e1b1667477f727ae Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sun, 27 Oct 2024 00:03:46 -0400 Subject: [PATCH] Use vinculum in README example --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b147307..5f23dba 100644 --- a/README.md +++ b/README.md @@ -42,10 +42,11 @@ func main() { fmt.Println(roman == "iv") // True // capital (slightly slower) + // this example uses a number in vinculum notation to show that ANSI escape codes are used to provide the overline roman = rom.FromIntCapital(4) if roman == "OOB" { panic("Input integer is out of bounds (greater than 3,999,999)") } - fmt.Println(roman == "IV") // True + fmt.Println(roman == "\033[53mIV\033[0mLXV") // True } ```