Kill from cursor to end (Ctrl+K).
(self)
| 337 | self.refresh_display(prev_len) |
| 338 | |
| 339 | def handle_kill_forward(self): |
| 340 | """Kill from cursor to end (Ctrl+K).""" |
| 341 | prev_len = len(self.password) |
| 342 | del self.password[self.cursor_pos:] |
| 343 | self.refresh_display(prev_len) |
| 344 | |
| 345 | def handle_erase_word(self): |
| 346 | """Erase previous word (Ctrl+W).""" |
nothing calls this directly
no test coverage detected