def __display_right(self, stat_display):
        """Display the right sidebar in the Curses interface.

        docker + processcount + amps + processlist + alert
        """
        # Do not display anything if space is not available...
        if self.term_window.getmaxyx()[1] < self._left_sidebar_min_width:
            return

        # Restore line position
        self.next_line = self.saved_line

        # Display right sidebar
        self.new_column()
        for p in self._right_sidebar:
            if (hasattr(self.args, 'enable_' + p) or hasattr(self.args, 'disable_' + p)) and p in stat_display:
                if p not in p:
                    # Catch for issue #1470
                    continue
                self.new_line()
                if p == 'processlist':
                    self.display_plugin(
                        stat_display['processlist'],
                        display_optional=(self.term_window.getmaxyx()[1] > 102),
                        display_additional=(not MACOS),
                        max_y=(
                            self.term_window.getmaxyx()[0] - self.get_stats_display_height(stat_display['alert']) - 2
                        ),
                    )
                else:
                    self.display_plugin(stat_display[p])