mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Fixes #2973
This commit is contained in:
parent
190e8ae5fa
commit
9ad32864ec
3 changed files with 7 additions and 3 deletions
4
thirdparty/colorama/winterm.py
vendored
4
thirdparty/colorama/winterm.py
vendored
|
|
@ -128,6 +128,8 @@ class WinTerm(object):
|
|||
elif mode == 2:
|
||||
from_coord = win32.COORD(0, 0)
|
||||
cells_to_erase = cells_in_screen
|
||||
else:
|
||||
return
|
||||
# fill the entire screen with blanks
|
||||
win32.FillConsoleOutputCharacter(handle, ' ', cells_to_erase, from_coord)
|
||||
# now set the buffer's attributes accordingly
|
||||
|
|
@ -153,6 +155,8 @@ class WinTerm(object):
|
|||
elif mode == 2:
|
||||
from_coord = win32.COORD(0, csbi.dwCursorPosition.Y)
|
||||
cells_to_erase = csbi.dwSize.X
|
||||
else:
|
||||
return
|
||||
# fill the entire screen with blanks
|
||||
win32.FillConsoleOutputCharacter(handle, ' ', cells_to_erase, from_coord)
|
||||
# now set the buffer's attributes accordingly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue