Skip to content

Conversation

@justindotdevv
Copy link

Switch to the terminal's alternate screen buffer on startup and restore the original screen on exit. This prevents the editor's content from remaining visible in the terminal after quitting, matching the behavior of editors like vim and nano.

Switch to the terminal's alternate screen buffer on startup and restore
the original screen on exit. This prevents the editor's content from
remaining visible in the terminal after quitting, matching the behavior
of editors like vim and nano.

Amp-Thread-ID: https://ampcode.com/threads/T-019bae98-31fd-75aa-93a2-067ecc652d96
Co-authored-by: Amp <amp@ampcode.com>
@justindotdevv
Copy link
Author

this is a more minimal fix compared to #92

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant