You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to use it with nushell or in a separate project?
For solutions in pure nu @fdncred is probably the prompt maestro, getting the different prompt plugins like starship or oh-my-posh to work. He probably knows if reedline needs to provide additional features to make that smooth.
I don't know if the PROMPT_COMMAND currently supports dynamic resizing. (i.e. execute nu code once or frequently/whenever necessary) Reedline is using crossterm to listen via terminal raw mode for those resize events. Getting info back from the terminal via control sequences, is not particularly fast.
we have tools already that understand the terminal's width, otherwise we wouldn't be able to hid the right prompt when the text from the left prompt invades its space. if the left prompt had text and a newline and the right prompt had text and a new line we might be able to draw a line between the top left prompt and top right prompt. it would need to be experimented with to figure out if it would work. one could start looking at the oh-my.nu script in nu_scripts.
A nice feature that zsh's powerlevel10k supports is connecting the left and right prompt with a solid or dotted line:

In action:

In addition it might be nice to be able to tweak the color of the connector.
The text was updated successfully, but these errors were encountered: