affich_tools est déprécié, utilise affichage
This commit is contained in:
parent
46b5aca99f
commit
b9bd5ab1fc
3 changed files with 13 additions and 9 deletions
|
@ -19,7 +19,7 @@ if '/usr/scripts' not in sys.path:
|
|||
from pythondialog import Dialog as PythonDialog
|
||||
from pythondialog import DialogTerminatedBySignal, PythonDialogErrorBeforeExecInChildProcess
|
||||
from pythondialog import error as DialogError
|
||||
from gestion.affich_tools import get_screen_size, coul
|
||||
from gestion import affichage
|
||||
|
||||
debug_enable = False
|
||||
debugf = None
|
||||
|
@ -230,7 +230,7 @@ class Dialog(object):
|
|||
"""
|
||||
Nyan nyan nyan nyan nyan nyan nyan nyan nyan nyan nyan nyan nyan nyan nyan nyan
|
||||
"""
|
||||
(lines, cols) = get_screen_size()
|
||||
(cols, lines) = affichage.getTerminalSize()
|
||||
print "\033[48;5;17m"
|
||||
print " "*(lines * cols)
|
||||
cols = int(min(cols/2, 65))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue