def register(screen, palette):
    """Register palette with screen"""
    screen.set_terminal_properties(colors=palette.colors, bright_is_bold=
        palette.light_is_bold)
    screen.register_palette(palette)
    screen.clear()
