Use vinculum in README example

This commit is contained in:
2024-10-27 00:03:46 -04:00
parent fc6dbc7d0d
commit ba1c6d30ed
+2 -1
View File
@@ -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
}
```