added bullets
This commit is contained in:
parent
0075cda9eb
commit
cbc9d80188
@ -37,15 +37,16 @@ class Menu:
|
||||
print(f'{put_cursor(self.start_line + i, 0)}\033[2;0;0m', end='')
|
||||
print(' ' * term_size.columns, end='\r')
|
||||
if i == self.selected:
|
||||
print(f'{self.highlight}{option}')
|
||||
print(f'{self.highlight}•{option}')
|
||||
else:
|
||||
print(f'{self.regular}{option}')
|
||||
print(f'{self.regular}•{option}')
|
||||
|
||||
|
||||
|
||||
def main():
|
||||
os.system('clear')
|
||||
print('\033[?25l', end='\r')
|
||||
print('\033[8m', end='\r')
|
||||
selected_item = 0
|
||||
menu = Menu(10)
|
||||
menu.draw()
|
||||
|
Loading…
Reference in New Issue
Block a user