Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix backward-prompt glitches where a prompt is skipped. #1233

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

mychris
Copy link
Contributor

@mychris mychris commented Jan 5, 2024

I have some glitches with backward-prompt and forward-prompt. If the evaluation does not produce any output, like

CL-USER> (error "foo")
CL-USER> (error "foo")

The next prompt is right on the next line. Since move-to-previous-virtual-line moves the cursor to the start of the line, one prompt is skipped. The same happens for forward-prompt if there are multiple prompts which didn't produce any output.

This fix resolves the issues for me, could someone have a look if it makes sense?

@cxxxr cxxxr merged commit d29495e into lem-project:main Jan 5, 2024
1 check passed
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.

2 participants