<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::String;
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 $default='';
	$default=$this-&gt;question-&gt;value if defined $this-&gt;question-&gt;value;

	my @params=('--inputbox');
	push @params, $this-&gt;frontend-&gt;dashsep if $this-&gt;frontend-&gt;dashsep;
	push @params, ($text, $lines + $this-&gt;frontend-&gt;spacer,
	               $columns, $default);

	my $value=$this-&gt;frontend-&gt;showdialog($this-&gt;question, @params);
	if (defined $value) {
		$this-&gt;value($value);
	}
	else {
		my $default='';
		$default=$this-&gt;question-&gt;value
			if defined $this-&gt;question-&gt;value;
		$this-&gt;value($default);
	}
}

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