Commits

Ilya Arkhipov committed 706775c

Added support dialog.ascii_lines(D4PASCIILINES) [kuriyama@FreeBSD.org]

  • Participants
  • Parent commits f644f99

Comments (0)

Files changed (4)

 0.1.6 (now)
 -------------------------------------------
-None
-
+- Added support dialog.ascii_lines(D4PASCIILINES) [kuriyama@FreeBSD.org]
+- Many thanks: Jun Kuriyama <kuriyama@FreeBSD.org>
 
 0.1.5 (17-06-2013)
 -------------------------------------------
 Dialog full screen mode. (Default: N)
 .It \fBD4PALIGNCENTER\fR
 Text in dialog becomes to center. (Default: N)
+.It \fBD4PASCIILINES\fR
+Use ASCII character for line drawing. (Default: N)
 .El
 .\" ---------------------------------------------------------------------------
 .Sh SEE ALSO
 		(strcasecmp(temp, "Y") == 0 || strcasecmp(temp, "YES") == 0))
 			align_center = 1;
 
+	temp = getenv("D4PASCIILINES");
+	if (temp != NULL &&
+			(strcasecmp(temp, "Y") == 0 || strcasecmp(temp, "YES") == 0))
+		dialog_vars.ascii_lines = TRUE;
+
+
 	portname = getenv("PKGNAME");
 	if (portname == NULL) {
 		end_dialog();

test/parsing_test.sh

 export D4PWIDTH=80
 export D4PFULLSCREEN="n"
 export D4PALIGNCENTER="n"
+export D4PASCIILINES="y"
 
 export PKGNAME="Options for atata-21_1.0.7"