MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _display_nav_bar

Method _display_nav_bar

tensorflow/python/debug/cli/curses_ui.py:1171–1181  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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.

Callers 2

_redraw_outputMethod · 0.95

Calls 3

renderMethod · 0.80

Tested by

no test coverage detected