On Mon, Oct 29, 2018 at 7:37 AM Ilkka Virta wrote:
>
>prompt_to_bol() { local pos; printf '\e[6n'; read -sdR pos;
>[[ ${pos#*;} != 1 ]] && printf '\e[30;47m%%\n\e[0m'; }
>PROMPT_COMMAND=prompt_to_bol
>
> (I stole the main parts from the answers in
>
Awesome, thanks!
ma 29. lokak. 2018 klo 13.57 Ilkka Virta (itvi...@iki.fi) kirjoitti:
> On 29.10. 12:40, Ricky Tigg wrote:
> > Actual result:
> >
> > $ curl https://www.startpage.com
> > (...) [yk@localhost ~]$
>
> The shell just prints the prompt where ever the cursor was left. That's
> quite
On 29.10. 12:40, Ricky Tigg wrote:
Actual result:
$ curl https://www.startpage.com
(...) [yk@localhost ~]$
The shell just prints the prompt where ever the cursor was left. That's
quite common, the only exception I know is zsh, which moves the cursor
to the start of line if the previous
On Mon, 29 Oct 2018 11:40:54 +0100, Ricky Tigg wrote:
> Component: bash.x86_64 4.4.23-5.fc29 @fedora
>
> To reproduce,: execute 'curl https://www.startpage.com'.
>
> Actual result:
>
> $ curl https://www.startpage.com
> (...) [yk@localhost ~]$
>
> Expected result:
>
> $ curl
Component: bash.x86_64 4.4.23-5.fc29 @fedora
To reproduce,: execute 'curl https://www.startpage.com'.
Actual result:
$ curl https://www.startpage.com
(...) [yk@localhost ~]$
Expected result:
$ curl https://www.startpage.com
(...)
[yk@localhost ~]$