PerBothner / DomTerm

DOM/JavaScript-based terminal-emulator/console

Home Page:https://domterm.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mouse click doesn't work with rafaelrinaldi/pure plugin of fish shell

mcarans opened this issue · comments

commented

The rafaelrinaldi/pure plugin of the fish shell seems to cause the mouse click functionality of DomTerm to stop working.

The default pure prompt is two lines - it has cr-lf in the middle. This confuses DomTerm.
I think this case can be handled without too much pain. More later ...

I have a fix that works for rafaelrinaldi/pure; please try the patch below.
However, the original sindresorhus/pure for zsh doesn't seem to be working as I would expect; I'm looking into that.

multiline-prompt-patch.txt

commented

I tried it and it works for me - thanks a lot!