def get_active_window(self):
app = get_app()<EOL>try:<EOL><INDENT>return self._active_window_for_cli[app]<EOL><DEDENT>except KeyError:<EOL><INDENT>self._active_window_for_cli[app] = self._last_active_window or self.windows[<NUM_LIT:0>]<EOL>return self.windows[<NUM_LIT:0>]<EOL><DEDENT>
The current active :class:`.Window`.