def _current_window_for_event(event):
 return find_window_for_buffer_name(event.cli, event.cli.current_buffer_name)

def _current_window_for_event ( event ) : return find_window_for_buffer_name ( event . cli , event . cli . current_buffer_name )
return the window for the currently focussed buffer .