buflist: Set last_area as soon as possible
This commit is contained in:
@ -90,6 +90,11 @@ impl Component for Buflist {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn init(&mut self, area: Rect) -> Result<()> {
|
||||
self.last_area = Some(area);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn handle_mouse_events(&mut self, mouse: MouseEvent) -> Result<Option<Action>> {
|
||||
match mouse {
|
||||
MouseEvent {
|
||||
|
Reference in New Issue
Block a user