This repository has no description

terminal: fix stale cursor pin usage after cursorChangePin (#10348) master

Fixes #10282 The function `cursorChangePin` is supposed to be called anytime the cursor page pin changes, but it itself may alter the page pin if setting up the underlying managed memory forces a page size adjustment. Multiple callers to this function were erroneously reusing the old page pin value. **AI disclosure:** I had Amp help me write the test. I eyeballed and found the bug myself, verified it by asking Amp to write the test, reviewed that manually, then implemented the fixes manually and got it to pass.


+117 -30
1 changed file