accidentally hid the function header

I accidentally hid the function header above the CURSOR, so I can’t see the indentation of the code below. How can I restore it?
I must have accidentally hit a button by mistake.

Hi @blackdogamo

You mean sticky scroll? You can enable it like I show in my screenshot.

What version of Cursor do you have?

Video of the ‘function header disappears’ bug
↑Here’s a video recorded of this bug

Maybe it’s a bug in Cursor: the header of the function, which often suddenly disappears and suddenly reappears.

This happens inside the function (the function hasn’t ended yet). Everything was fine before, and then suddenly one day it was like this.

0.41.3

I haven’t seen this issue on my end. I’m guessing this happens with Python files? Does the same issue occur with other files too?

It may indeed be the Python file, as another backup of this Python file did not have this strange bug.
After a code change, this strange bug was triggered. although it doesn’t affect the usage either, hopefully the next version update will fix this issue.

1 Like