<gh_stars>0
from lib.target_menu.colors import palette

def update(menu, control, cl):
    i = 0
    for i in range(len(menu)):
        if isinstance(menu, list) and control.getPos1() == i:
            print(f"{cl[2]}{menu[i]}   {palette.colors[15][1]}")
        elif control.getPos1() == i:
            print(f"{cl[2]}{menu[i]}   {palette.colors[15][1]}")
        else:
            print(f"{menu[i]}")
    
    print("\n")

from lib.target_menu.colors import palette

def update(menu, control, cl):
    i = 0
    for i in range(len(menu)):
        if isinstance(menu, list) and control.getPos1() == i:
            print(f"{cl[2]}{menu[i]}   {palette.colors[15][1]}")
        elif control.getPos1() == i:
            print(f"{cl[2]}{menu[i]}   {palette.colors[15][1]}")
        else:
            print(f"{menu[i]}")
    
    print("\n")