footer() {
    let fn = colors[keys[++idx % keys.length]];
    return '\n' + fn('(Scroll up and down to reveal more choices)');
  }
This prompt shows how you can easily customize the footer
to render a different value based on conditions.