Skip to content

repl: Fix cursor visibility on last line after re-running cells#48218

Merged
miguelraz merged 1 commit intozed-industries:mainfrom
MostlyKIGuess:fix/last-line-cursor-repl
Feb 3, 2026
Merged

repl: Fix cursor visibility on last line after re-running cells#48218
miguelraz merged 1 commit intozed-industries:mainfrom
MostlyKIGuess:fix/last-line-cursor-repl

Conversation

@MostlyKIGuess
Copy link
Contributor

  • This also sends the cursor to block placement anchor which is the standard thing to happen when we run cmd/ctrl + shift + enter, this is usually used for Run and Move onto next cell.
  • Perhaps the ability to stay on the same code will be tackled on further works where not using the shift modifier would signify stay and "just" run the cell. Like repl: Change default run actions to run line and add four run related actions #46868

Closes #48069

Release Notes:

  • Fixed cursor becoming invisible on the last line of REPL cells after re-running

- Closes zed-industries#48069
- This also sends the cursor to block placement anchor which is the
  standard thing to happen when we run cmd/ctrl + shift + enter, this
  is usually used for Run and Move onto next cell.
- Perhaps  the ability to stay on the same code will be tackled on
  further works where not using the shift modifier would signify stay
  and "just" run the cell.

Release Notes:

- Fixed cursor becoming invisible on the last line of REPL cells after
  re-running
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 2, 2026
@MostlyKIGuess MostlyKIGuess marked this pull request as ready for review February 2, 2026 21:16
@miguelraz miguelraz merged commit 14621b6 into zed-industries:main Feb 3, 2026
27 of 29 checks passed
adb-sh pushed a commit to adb-sh/zed that referenced this pull request Feb 5, 2026
…industries#48218)

- This also sends the cursor to block placement anchor which is the
standard thing to happen when we run cmd/ctrl + shift + enter, this is
usually used for Run and Move onto next cell.
- Perhaps the ability to stay on the same code will be tackled on
further works where not using the shift modifier would signify stay and
"just" run the cell. Like zed-industries#46868

Closes zed-industries#48069

Release Notes:

- Fixed cursor becoming invisible on the last line of REPL cells after
re-running
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Text cursor invisible on last line of cell after re-rendering plots

3 participants