Repository navigation
feat(core): 行插入/删除 CSI(IL/DL)(#29) - #234
Merged
Merged
Conversation
IL and DL shift rows inside the screen, give inserted rows fresh identities, drop rows pushed past the bottom, and are covered by three new edit_csi_test cases.
This was referenced Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
内容
实现 IL/DL(#29 的编辑类行操作):
CSI Ps L(IL)CSI Ps M(DL)细节:
Ps=0按 1 处理,超出剩余行数时只处理剩余部分。测试
edit_csi_test新增:a/b/c/d在首行CSI 2 L→"","","a","b",光标不动;CSI M→"","a","b","";CSI 99 L清空整屏。本地:
edit csi contracts passed;experiments.core.test_recovery35 tests OK。边界
row..height),与标准在无滚动区域时的行为一致;Refs #29 #28