mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-05 06:09:01 +00:00
More refactoring (#5965)
This commit is contained in:
@@ -67,7 +67,7 @@ def runGui(parser):
|
||||
errMsg = "unable to create GUI window ('%s')" % getSafeExString(ex)
|
||||
raise SqlmapSystemException(errMsg)
|
||||
|
||||
window.title("sqlmap - Tk GUI")
|
||||
window.title("sqlmap - Tkinter GUI")
|
||||
|
||||
# Set theme and colors
|
||||
bg_color = "#f5f5f5"
|
||||
|
||||
@@ -91,7 +91,7 @@ class NcursesUI:
|
||||
def _draw_header(self):
|
||||
"""Draw the header bar"""
|
||||
height, width = self.stdscr.getmaxyx()
|
||||
header = " sqlmap - Ncurses TUI "
|
||||
header = " sqlmap - ncurses TUI "
|
||||
self.stdscr.attron(curses.color_pair(1) | curses.A_BOLD)
|
||||
self.stdscr.addstr(0, 0, header.center(width))
|
||||
self.stdscr.attroff(curses.color_pair(1) | curses.A_BOLD)
|
||||
|
||||
Reference in New Issue
Block a user