aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_output_debugs.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-01-30 14:19:27 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit648492549fc290c416d870040c9097cc53335d44 (patch)
tree2f6b7f4b2cf6ae31fea4ca9f94b4b80f0445b42a /org/ao_output_debugs.org
parentorg file reorganise (diff)
screen output
Diffstat (limited to 'org/ao_output_debugs.org')
-rw-r--r--org/ao_output_debugs.org14
1 files changed, 10 insertions, 4 deletions
diff --git a/org/ao_output_debugs.org b/org/ao_output_debugs.org
index 07a4dfe..7a7a8c7 100644
--- a/org/ao_output_debugs.org
+++ b/org/ao_output_debugs.org
@@ -737,7 +737,7 @@ debug(summary) {
];
#+END_SRC
-*** (checkdoc) :checkdoc:
+*** (last ocn) :checkdoc:
#+name: ao_output_debugs_summary_doc
#+BEGIN_SRC d
@@ -758,13 +758,18 @@ if ((doc_matters.opt_action_bool["verbose"])) {
#+name: ao_output_debugs_summary_doc
#+BEGIN_SRC d
+auto min_repeat_number = 66;
+auto char_repeat_number = (doc_matters.dochead_meta["title"]["full"].length + doc_matters.dochead_meta["creator"]["author"].length + 4);
+char_repeat_number = (char_repeat_number > min_repeat_number)
+? char_repeat_number
+: min_repeat_number;
writefln(
- "%s\n\"%s\", %s\n%s\n%s\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n(%s: %s)",
- "---------------------------------",
+ "%s\n\"%s\", %s\n%s\n%s\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n(%s: %s)\n%s",
+ markup.repeat_character_by_number_provided("-", char_repeat_number),
doc_matters.dochead_meta["title"]["full"],
doc_matters.dochead_meta["creator"]["author"],
doc_matters.source_filename,
- "---------------------------------",
+ markup.repeat_character_by_number_provided("-", char_repeat_number),
"length toc array: ",
to!int(contents["toc_seg"].length),
"length contents array: ",
@@ -793,6 +798,7 @@ writefln(
: 0,
__FILE__,
__LINE__,
+ markup.repeat_character_by_number_provided("-", min_repeat_number),
);
#+END_SRC