plattfot / pinentry-rofi

Rofi frontend to pinentry
43 stars 5 forks source link

Underline the next character after the underscore #5

Closed plattfot closed 4 years ago

plattfot commented 4 years ago

From the protocol

`Set the prompt to be shown'
      When asking for a PIN, set the text just before the widget for
      passphrase entry.
             C: SETPROMPT PIN:
             S: OK

      You should use an underscore in the text only if you known that a
      modern version of pinentry is used.  Modern versions underline the
      next character after the underscore and use the first such
      underlined character as a keyboard accelerator.  Use a double
      underscore to escape an underscore.

pinentry-rofi currently does not handle this.