(self, command)
| 616 | return self._command_textbox.edit(validate=self._on_textbox_keypress) |
| 617 | |
| 618 | def _strip_terminator(self, command): |
| 619 | if not command: |
| 620 | return command |
| 621 | |
| 622 | for v in self.CLI_CR_KEYS: |
| 623 | if v < 256: |
| 624 | command = command.replace(chr(v), "") |
| 625 | |
| 626 | return command.strip() |
| 627 | |
| 628 | def _screen_refresh_size(self): |
| 629 | self._max_y, self._max_x = self._stdscr.getmaxyx() |
no test coverage detected