Skip to content
Snippets Groups Projects
Commit 3d30b8b3 authored by rswindell's avatar rswindell
Browse files

Disable @-code truncation (Use the -> wrap format modifier) for the QUESTION

@-code in the yesno/noyesbar modules. Questions can span multiple lines, so
the string length is not a good indicator that it would wrap the terminal
screen, unintentionally.
parent c3f58d52
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ if_true
print "\1?"
shift_str _question 2
end_if
print "\x01n\x01b\x01h[\x01c@CHECKMARK@\x01b] \x01y@QUESTION@? "
print "\x01n\x01b\x01h[\x01c@CHECKMARK@\x01b] \x01y@QUESTION->@? "
:top
compare_str "N"
if_equal
......
......@@ -22,7 +22,7 @@ if_true
print "\1?"
shift_str _question 2
end_if
print "\x01n\x01b\x01h[\x01c@CHECKMARK@\x01b] \x01y@QUESTION@? "
print "\x01n\x01b\x01h[\x01c@CHECKMARK@\x01b] \x01y@QUESTION->@? "
:top
compare_str "Y"
if_equal
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment