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

Cursor range, delete line bug, and support for top #27

Merged
merged 3 commits into from
Feb 5, 2024
Merged

Conversation

TerryGeng
Copy link
Owner

Should have fixed #26.

1. Implemented `CSI d` (set cursor vertical absolute) command,
2. Correctly deals with `CSI m` with no arguments (means reset all styles),
3. Correctly recognizes `ESC ( <rest>` (select G0 charset) and discard it.

I don't think G0 charset selection will be needed in modern cases.

Fixed #26.
@TerryGeng TerryGeng changed the title fix: Cursor might be outside the buffer region Cursor range, delete line bug, and support for top Feb 5, 2024
@mohammadkarami2023
Copy link

Thank you. the problem had happened even while one editing the command but now it has resolved. But in this case there is another issue. for example, enter "Hello World" press left to place the cursor in front of 'o' and before the space. enter a character like 's'. press left again. Now instead of inserting a character between others, it replaces that with the new one. it looks like that the insert button on the keyboard is pressed (in summary inserting a character before a space causes toggling insert mode)

@TerryGeng
Copy link
Owner Author

Great! Thanks for your test.

The new issue you are describing might be caused by one unimplemented escape sequence. It occurs even before the patches in #27. Would you please open a new issue for it?

@TerryGeng TerryGeng merged commit 65093c1 into master Feb 5, 2024
@TerryGeng TerryGeng deleted the fix-cursor branch February 5, 2024 15:28
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.

an issue with clear buffer
2 participants