Fix appearance issues
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2022-10-17 18:54:03 +02:00
parent 5b228de285
commit 38656661b4
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ impl<'a> InputScreen<'a> {
fn ui<B: Backend>(&mut self, f: &mut Frame<B>) {
let area = centered_rect_size(
(self.msg.len() + 4).max(self.max_len + 4) as u16,
(self.msg.len() + 4).max(self.max_len + 4).max(25) as u16,
7,
&f.size(),
);

View File

@ -17,7 +17,7 @@ use crate::ui_widgets::button_widget::ButtonWidget;
/// Convenience function to inform user that his terminal window is too small to display the current
/// screen
pub fn show_screen_too_small_popup<B: Backend>(f: &mut Frame<B>) {
PopupScreen::new("Screen too small!").show_in_frame(f)
PopupScreen::new("🖵 Screen too small!").show_in_frame(f)
}
pub struct PopupScreen<'a> {