(
*,
replay: bool,
marked: str,
)
| 361 | |
| 362 | |
| 363 | def format_right_indicators( |
| 364 | *, |
| 365 | replay: bool, |
| 366 | marked: str, |
| 367 | ): |
| 368 | indicators: list[str | tuple[str, str]] = [] |
| 369 | if replay: |
| 370 | indicators.append(("replay", SYMBOL_REPLAY)) |
| 371 | else: |
| 372 | indicators.append(" ") |
| 373 | if bool(marked): |
| 374 | indicators.append(("mark", render_marker(marked))) |
| 375 | else: |
| 376 | indicators.append(" ") |
| 377 | return "fixed", 3, urwid.Text(indicators) |
| 378 | |
| 379 | |
| 380 | @lru_cache(maxsize=800) |
no test coverage detected
searching dependent graphs…