Commit Graph
5 Commits
Author SHA1 Message Date
Frank Denis 5a57615f44 print_hex() is always followed by putc('\n'), so let it do it directly 2015-05-27 21:04:32 +02:00
Frank Denis b1bcecf086 putc('\n', stdout) or putchar('\n') - pick one
And remove duplicate putchar('\n') to improve code clarity
2015-05-27 20:27:07 +02:00
Frank Denis 071c467ff3 box demos: do not attempt to print anything past the end of the plaintext 2015-05-27 20:05:15 +02:00
Frank Denis 9060457fac Make prompt_input accept fixed-length and variable-length input.
Now that strings have the correct size, but no trailing \0, puts() cannot safely be
used any more.
2015-05-27 18:10:28 +02:00
Frank Denis cf6106e022 + box_detached demo 2015-05-27 17:24:20 +02:00