(&self, width: u16)
| 588 | } |
| 589 | |
| 590 | pub fn desired_height(&self, width: u16) -> u16 { |
| 591 | self.input_display_lines(width) |
| 592 | .saturating_add(PROMPT_BLOCK_PAD_TOP) |
| 593 | .saturating_add(PROMPT_BLOCK_PAD_BOTTOM) |
| 594 | .saturating_add(3) |
| 595 | } |
| 596 | |
| 597 | pub fn stash_current(&mut self) -> bool { |
| 598 | if self.input.trim().is_empty() { |
nothing calls this directly
no test coverage detected