(key string)
| 380 | } |
| 381 | |
| 382 | func shortcutKeyColor(key string) string { |
| 383 | foreground := "38;2" |
| 384 | black := "0;0;0" |
| 385 | background := "48;2" |
| 386 | white := "255;255;255" |
| 387 | return ansiColor(foreground+";"+black+";"+background+";"+white, key, BOLD) |
| 388 | } |
| 389 | |
| 390 | func navColor(key string) string { |
| 391 | return ansiColor(FAINT, key) |
no test coverage detected