(value any)
| 1483 | } |
| 1484 | |
| 1485 | func anyStringSlice(value any) []string { |
| 1486 | switch typed := value.(type) { |
| 1487 | case []string: |
| 1488 | return typed |
| 1489 | case []any: |
| 1490 | out := make([]string, 0, len(typed)) |
| 1491 | for _, item := range typed { |
| 1492 | if s := stringFromAny(item); s != "" { |
| 1493 | out = append(out, s) |
| 1494 | } |
| 1495 | } |
| 1496 | return out |
| 1497 | default: |
| 1498 | return nil |
| 1499 | } |
| 1500 | } |
| 1501 | |
| 1502 | func (b *FullscreenRendererBackend) renderScreen() { |
| 1503 | if !b.renderEnabled || !b.screenActive || b.out == nil { |
no test coverage detected