mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-15 03:41:16 +01:00
Move ascii chars
This commit is contained in:
parent
9a3ac15270
commit
1bb6bf9dd0
2 changed files with 13 additions and 13 deletions
|
@ -8,19 +8,6 @@ from progress.spinner import PixelSpinner
|
||||||
|
|
||||||
class ProgressBar:
|
class ProgressBar:
|
||||||
|
|
||||||
def __init__(self):
|
|
||||||
self.vl = '│' # vertical_line
|
|
||||||
self.hl = '─' # horizontal_line
|
|
||||||
self.hv = '┼' # horizontal_vertical
|
|
||||||
self.urc = '┐' # upper_right_corner
|
|
||||||
self.llc = '└' # lower_left_corner
|
|
||||||
self.lrc = ' ┘' # lower_right_corner
|
|
||||||
self.ulc = '┌' # upper_left_corner
|
|
||||||
self.hau = '┴' # horizontal_and_up
|
|
||||||
self.had = '┬' # horizontal_and_down
|
|
||||||
self.var = '├' # vertical_and_right
|
|
||||||
self.val = '┤' # vertical_and_left
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def bar(message, filename):
|
def bar(message, filename):
|
||||||
""" Creating progress bar. """
|
""" Creating progress bar. """
|
||||||
|
|
|
@ -14,6 +14,19 @@ from slpkg.models.models import LogsDependencies
|
||||||
from slpkg.models.models import session as Session
|
from slpkg.models.models import session as Session
|
||||||
|
|
||||||
|
|
||||||
|
# '│' vertical_line
|
||||||
|
# '─' horizontal_line
|
||||||
|
# '┼' horizontal_vertical
|
||||||
|
# '┐' upper_right_corner
|
||||||
|
# '└' lower_left_corner
|
||||||
|
# ' ┘' lower_right_corner
|
||||||
|
# '┌' upper_left_corner
|
||||||
|
# '┴' horizontal_and_up
|
||||||
|
# '┬' horizontal_and_down
|
||||||
|
# '├' vertical_and_right
|
||||||
|
# '┤' vertical_and_left
|
||||||
|
|
||||||
|
|
||||||
class ViewMessage:
|
class ViewMessage:
|
||||||
""" Print some messages before. """
|
""" Print some messages before. """
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue