(self)
| 1169 | return pad, rows, cols |
| 1170 | |
| 1171 | def _display_nav_bar(self): |
| 1172 | nav_bar_width = self._max_x - 2 |
| 1173 | self._nav_bar_pad = self._screen_new_output_pad(1, nav_bar_width) |
| 1174 | self._nav_bar = self._nav_history.render( |
| 1175 | nav_bar_width, |
| 1176 | self._NAVIGATION_BACK_COMMAND, |
| 1177 | self._NAVIGATION_FORWARD_COMMAND) |
| 1178 | self._screen_add_line_to_output_pad( |
| 1179 | self._nav_bar_pad, 0, self._nav_bar.lines[0][:nav_bar_width - 1], |
| 1180 | color_segments=(self._nav_bar.font_attr_segs[0] |
| 1181 | if 0 in self._nav_bar.font_attr_segs else None)) |
| 1182 | |
| 1183 | def _display_main_menu(self, output): |
| 1184 | """Display main menu associated with screen output, if the menu exists. |
no test coverage detected