from ircplom.events import AffectiveEvent, Loop, QueueMixin, QuitEvent
_LOG_PREFIX_DEFAULT = '# '
-_LOG_PREFIX_ALERT = f'{_LOG_PREFIX_DEFAULT}ALERT: '
+_LOG_PREFIX_ALERT = f'ALERT: '
_MIN_HEIGHT = 4
_MIN_WIDTH = 32
new_idx = len(self._windows)
win = win_class(idx=new_idx, term=self._term, **kwargs)
self._windows += [win]
+ # FIXME below code responsible for log messages to streams without
+ # window auto-switching into that newly created, which can be annoying
if new_idx != self._window_idx:
self._switch_window(new_idx)
return win