added bullets

This commit is contained in:
Nicholas Dyer 2023-12-21 11:33:33 -05:00
parent 0075cda9eb
commit cbc9d80188
Signed by: ndyer
GPG Key ID: E5426C53DE17E1B2

View File

@ -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()