@@ -410,6 +410,8 @@ impl<T: 'static> Component for Picker<T> {
410410
411411 // -- Render the input bar:
412412
413+ let area = Rect::new(inner.x + 1, inner.y, inner.width - 1, 1);
414+
413415 let count = format!("{}/{}", self.matches.len(), self.options.len());
414416 surface.set_stringn(
415417 (area.x + area.width).saturating_sub(count.len() as u16 + 1),
@@ -419,7 +421,6 @@ impl<T: 'static> Component for Picker<T> {
419421 text_style,
420422 );
421423
422− let area = Rect::new(inner.x + 1, inner.y, inner.width - 1, 1);
423424 self.prompt.render(area, surface, cx);
424425
425426 // -- Separator