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

Method _draw_header

lib/utils/tui.py:91–97  ·  view source on GitHub ↗

Draw the header bar

(self)

Source from the content-addressed store, hash-verified

89 return ', '.join(parts)
90
91 def _draw_header(self):
92 """Draw the header bar"""
93 height, width = self.stdscr.getmaxyx()
94 header = " sqlmap - ncurses TUI "
95 self.stdscr.attron(curses.color_pair(1) | curses.A_BOLD)
96 self.stdscr.addstr(0, 0, header.center(width))
97 self.stdscr.attroff(curses.color_pair(1) | curses.A_BOLD)
98
99 def _get_tab_bar_height(self):
100 """Calculate how many rows the tab bar uses"""

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected