(self)
| 367 | |
| 368 | class self_insert(EditCommand): |
| 369 | def do(self) -> None: |
| 370 | r = self.reader |
| 371 | text = self.event * r.get_arg() |
| 372 | r.insert(text) |
| 373 | if r.paste_mode: |
| 374 | data = "" |
| 375 | ev = r.console.getpending() |
| 376 | data += ev.data |
| 377 | if data: |
| 378 | r.insert(data) |
| 379 | r.last_refresh_cache.invalidated = True |
| 380 | |
| 381 | |
| 382 | class insert_nl(EditCommand): |
nothing calls this directly
no test coverage detected