~conjure/conjure/urwid-ubuntu

« back to all changes in this revision

Viewing changes to ubuntui/widgets/input.py

  • Committer: Adam Stokes
  • Date: 2017-04-14 14:29:46 UTC
  • Revision ID: git-v1:d5a344cfe8c48b1e142cb79c3ed24eadb619b613
Tags: v0.1.2
bubble up additional input options

Fixes https://github.com/conjure-up/conjure-up/issues/821

Signed-off-by: Adam Stokes <battlemidget@users.noreply.github.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    """ Password input prompt with masking
49
49
    """
50
50
 
51
 
    def __init__(self, caption=None, mask="*"):
52
 
        super().__init__(caption, mask=mask)
 
51
    def __init__(self, caption=None, mask="*", **kwargs):
 
52
        super().__init__(caption, mask=mask, **kwargs)
53
53
 
54
54
 
55
55
class RealnameEditor(StringEditor):