I guess the difference can be that Geany always shows newlines as such, showing an empty space after it: basically `\n` is allowing the cursor to be moved *after* it and appear at the start of the next line. There is no extra line; and a line without a trailing `\n` will not show that "extra line".
If `cat` does not break line after the last "line" (e.g. the prompt is concatenated on the same line) then Geany shouldn't show that newline, because there is none. But if `cat` shows the last line on its own (not an extra empty one!) this means there *is* a trailing `\n`, and then Geany will allow moving the cursor after that trailing `\n`. No bug here. If you see otherwise, please give extra details explaining the details so we can reproduce. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/2310#issuecomment-2396177812 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/issues/2310/[email protected]>
