I´m a keen user of the fish-shell and I like it a lot.
One question though:
on the page https://fishshell.com/docs/2.1/index.html there is a paragraph entitled "Command line editor". It lists a lot of useful shortcuts.
What´s most interesting to me is ctrl-L. According to the description: "Ctrl-L clears and repaints the screen". I tried it out and it works as desired. Yet it produces some signs that are added to the previous prompt. That can be seen when scrolling backwards.
Example:
rosika@... ~/Schreibtisch> [3;J
rosika@... ~/Schreibtisch>
So this [3;J
is what I´m asking about. The [
is indeed some sort of rectangle with (I guess) 4 digits in it.
Can anyone tell me why that phenomenon occurs? What´s it about and is it supposed to be this way?
Thanks a lot in advance.
Greetings
Rosika
My system:
Linux/Lubuntu 16.04.4 LTS, 64 bit
fish v. 2.2.0-3
ESC [ 3 J: erase whole display including scroll−back buffer (since Linux 3.0).
That´s it I suppose. The semicolon between 3 and J is syntax-specific I guess. – Rosika May 30 '18 at 11:52