MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / _draw_footer

Method _draw_footer

lib/utils/tui.py:154–164  ·  view source on GitHub ↗

Draw the footer with help text

(self)

Source from the content-addressed store, hash-verified

152 x += len(tab_text) + 1
153
154 def _draw_footer(self):
155 """Draw the footer with help text"""
156 height, width = self.stdscr.getmaxyx()
157 footer = " [Tab] Next | [Arrows] Navigate | [Enter] Edit | [F2] Run | [F3] Export | [F4] Import | [F10] Quit "
158
159 try:
160 self.stdscr.attron(curses.color_pair(1))
161 self.stdscr.addstr(height - 1, 0, footer.ljust(width))
162 self.stdscr.attroff(curses.color_pair(1))
163 except:
164 pass
165
166 def _draw_current_tab(self):
167 """Draw the current tab content"""

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected