On Sun, Jul 10, 2022 at 02:35:40PM +0200, Anton Wessel wrote: > When a one-liner is long, longer than fits on current window size, then > problems in bash occure. > > This has nothing to do with what is the contents of the long line. > > Bash is broken by the fact that window size is exceeded. > > I can come to the end of the long line, but I cannot come to the beginning > of the line. > > The scrolling on the screen, in German "Verlauf", by CTRL-SHIFT-F does not > work any more. > > The movement of the cursor by the arrow keys is in the upper part of the > window confused.
Sounds very much like you've added terminal escape sequences to your shell prompt, without enclosing them in \[ \] characters. See <https://mywiki.wooledge.org/BashFAQ/053> and check the content of your PS1 variable (declare -p PS1).