28 Ekim 2022 Cuma tarihinde Albert Vaca Cintora <albertv...@gmail.com> yazdı: > > Option A: If the previous command doesn't end in a newline, > add a newline manually. This is what most shells do.
This sounds wrong. How are you going to know if the previous command ends in a newline or not then? > Option B: Fix the line editor to take into account when the > prompt doesn't start at column 0. > > Yeah, or add a new prompt sequence (e.g. \N) that prints a newline only if the cursor is not at column 0. -- Oğuz