code: def hr(color):
      
      logger = log(color)
      return lambda symbol: logger(symbol * terminal_size.usable_width)
docs: Colored horizontal rule printer/logger factory.
  
      The resulting function prints an entire terminal row with the given
      symbol repeated. It's a terminal version of the HTML ``<hr/>``.