<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">#!/usr/bin/perl
# This file was preprocessed, do not edit!


package Debconf::Element::Dialog::Password;
use warnings;
use strict;
use base qw(Debconf::Element);


sub show {
	my $this=shift;

	my ($text, $lines, $columns)=
		$this-&gt;frontend-&gt;makeprompt($this-&gt;question);

	my @params=('--passwordbox');
	push @params, $this-&gt;frontend-&gt;dashsep if $this-&gt;frontend-&gt;dashsep;
	push @params, ($text, $lines + $this-&gt;frontend-&gt;spacer, $columns);
	my $ret=$this-&gt;frontend-&gt;showdialog($this-&gt;question, @params);

	if (! defined $ret || $ret eq '') {
		my $default='';
		$default=$this-&gt;question-&gt;value
			if defined $this-&gt;question-&gt;value;
		$this-&gt;value($default);
	}
	else {
		$this-&gt;value($ret);
	}
}

1
</pre></body></html>