Is it possible to highlight (set a background colour) for the whole line of the prompt in zsh
? In my emacs config I have the line on which the cursor sits a slightly different colour to the window background, which is a great visual aid. I'm wondering whether it's possible to do the same in my terminal/zsh prompt, so that it effectivly "draws a line" under everthing that's been run.
I've tried setting PROMPT='%{$bg[grey]%}# '
in my .zshrc
but the highlight only extends as far as I type, not to the edge of the terminal.
Is what I'm trying to achieve possible?