(key)
| 145 | """Format prompt toolkit key with modifier into an RST representation.""" |
| 146 | |
| 147 | def to_rst(key): |
| 148 | escaped = key.replace("\\", "\\\\") |
| 149 | return f":kbd:`{escaped}`" |
| 150 | |
| 151 | keys_to_press: List[str] |
| 152 |
no test coverage detected
searching dependent graphs…