polyipseity / obsidian-terminal

Integrate consoles, shells, and terminals inside Obsidian.
GNU Affero General Public License v3.0
163 stars 7 forks source link

Caret Focus Issues #29

Closed polyipseity closed 1 year ago

polyipseity commented 1 year ago

Reported privately.

If I have e.g. ten paragraphs in a note and I put the caret/cursor in the first, so that I can start editing the first paragraph. If I then scroll down to the bottom of the page so that the caret isn't visible, the page will scroll up to show the caret after one second. Same applies for horizontal direction.

Aha it's terminal. I have it in the right tab at all times. It seems that it is a timer that triggers every 1 second that brings the caret into view.

Also there are some other caret/focus related issues

as soon as I put the caret there, e.g. in the find box, it closes the right tab. So I have to open it again and then its ok because the caret is already in the find box. Same thing if you put the caret in the console. sometimes you cannot scroll to the bottom of the console to se the latest output. But once I put the caret there (and do the close open dance) it is possible to scroll down.

They should be incidentally fixed by fixing GH#26.