some work on the printing functions

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1108 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2008-01-28 10:56:33 +00:00
parent c5f5cc8db2
commit c2b2beee10

View File

@@ -244,6 +244,8 @@ def print_error(msg, back = False):
writechar("\r"+red(">>")+" "+msg)
return
setcols()
reset_cursor()
writechar("\r")
print darkred(">>")+" "+msg
def print_info(msg, back = False):
@@ -254,6 +256,7 @@ def print_info(msg, back = False):
writechar("\r"+green(">>")+" "+msg)
return
setcols()
reset_cursor()
writechar("\r")
print green(">>")+" "+msg
@@ -265,6 +268,7 @@ def print_warning(msg, back = False):
writechar("\r"+red(">>")+" "+msg)
return
setcols()
reset_cursor()
writechar("\r")
print red(">>")+" "+msg