code: def _get_menu_meta_width(self, max_width, complete_state):
          
          if self._show_meta(complete_state):
              return min(max_width, max(get_cwidth(c.display_meta)
                         for c in complete_state.current_completions) + 2)
          else:
              return 0
docs: Return the width of the meta column.