@@ -126,13 +126,7 @@ impl Prompt {
126 let area = completion_area;
126 let area = completion_area;
127 let background = theme.get("ui.statusline");
127 let background = theme.get("ui.statusline");
129− for y in area.top()..area.bottom() {
129+ surface.clear_with(area, background);
130− for x in area.left()..area.right() {
131− let cell = surface.get_mut(x, y);
133− cell.set_style(background);
137 let mut row = 0;
131 let mut row = 0;
138 let mut col = 0;
132 let mut col = 0;
@@ -172,13 +166,7 @@ impl Prompt {
174 let background = theme.get("ui.window");
168 let background = theme.get("ui.window");
175− for y in area.top()..area.bottom() {
169+ surface.clear_with(area, background);
176− for x in area.left()..area.right() {
177− let cell = surface.get_mut(x, y);
179− cell.set_style(background);
183 use tui::layout::Margin;
171 use tui::layout::Margin;
184 text.render(
172 text.render(