IntOpt turns a float64 setting to an int
(opt any)
| 536 | |
| 537 | // IntOpt turns a float64 setting to an int |
| 538 | func IntOpt(opt any) int { |
| 539 | return int(opt.(float64)) |
| 540 | } |
| 541 | |
| 542 | // GetCharPosInLine gets the char position of a visual x y |
| 543 | // coordinate (this is necessary because tabs are 1 char but |
no outgoing calls
no test coverage detected