code: def text_entry(self, ucs, name):
          
          style = self.screen.style
          if len(name) > style.name_len:
              idx = max(0, style.name_len - len(style.continuation))
              name = u''.join((name[:idx], style.continuation if idx else u''))
          if style.alignment == 'right':
              fmt = u' '.join(('0x{val:0>{ucs_printlen}x}',
                               '{name:<{name_len}s}',
                               '{delimiter}{ucs}{delimiter}'
                               ))
          else:
              fmt = u' '.join(('{delimiter}{ucs}{delimiter}',
                               '0x{val:0>{ucs_printlen}x}',
                               '{name:<{name_len}s}'))
          delimiter = style.attr_minor(style.delimiter)
          if len(ucs) != 1:
              # determine display of combining characters
              val = ord(ucs[1])
              # a combining character displayed of any fg color
              # will reset the foreground character of the cell
              # combined with (iTerm2, OSX).
              disp_ucs = style.attr_major(ucs[0:2])
              if len(ucs) > 2:
                  disp_ucs += ucs[2]
          else:
              # non-combining
              val = ord(ucs)
              disp_ucs = style.attr_major(ucs)
  
          return fmt.format(name_len=style.name_len,
                            ucs_printlen=UCS_PRINTLEN,
                            delimiter=delimiter,
                            name=name,
                            ucs=disp_ucs,
                            val=val)
docs: Display a single column segment row describing ``(ucs, name)``.
  
          :param ucs: target unicode point character string.
          :param name: name of unicode point.
          :rtype: unicode