tui-rs icon indicating copy to clipboard operation
tui-rs copied to clipboard

Add masked property while rendering text-(like) objects

Open sudipghimire533 opened this issue 1 year ago • 0 comments

Description

This PR will enable to have a text object which hides the actual content. This will be specifically useful to show sensative content like password in tui but being still able to access the value, but without rendering it

Testing guidelines

Create a Span through Span::masked method, and such widget should be rendered as masked character as specified

Checklist

  • [X] I have read the contributing guidelines.
  • [X] I have added relevant tests.
  • [X] I have documented all new additions.

sudipghimire533 avatar Jul 21 '22 06:07 sudipghimire533