- card_bits = TextWidget((0, y_offset), bits_text, colour=(255, 255, 0))
+ if self.card.bitwise_operand:
+ bits_text = '%s %s' % (
+ bits_text, bit_glyphs(self.card.bitwise_operand))
+ card_bits = TextBoxWidget((0, y_offset), bits_text,
+ box_width=INFO_SIZE[0],
+ colour=PALETTE.LIGHT_TURQUOISE,
+ bg_colour=PALETTE.BLACK)