In a Windows Terminal, after reims-ctl's update ran the install script, the
console wrote reims-ctl's line ends and escape sequences as characters:
"Updated. Starting the new reims-ctl..." between two glyphs, then the new
reims-ctl's interface as text. Its output mode had line ends, escape sequences
and wrapping off. Which program of the install left it so is not known: the
installer's own console commands, run so in a pseudoconsole, left the modes as
they were.
reims-ctl now keeps the console's input and output modes while the install
script and the update's git run, and gives them back before it writes anything
or starts the new reims-ctl; a program the interface runs in the terminal
(less) gets the same. The interface turns line ends, escape sequences and
wrapping on as it starts, whatever ran on the console before.
The tests run, in a pseudoconsole, as Windows Terminal's console is, a stand-in
program that leaves the output mode so and the input mode changed: through the
update's runner and run_in_terminal the console's modes come back as they were,
and the interface's start turns the output mode's back on.