Repository navigation
[1354] 修复 gf pi 恢复会话后退出时重复打印历史 - #111
Merged
Merged
Conversation
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.
/exit与空输入Ctrl+D已共用退出清理,但清理会将整个恢复会话重印到主屏。本次在重建历史时记录已有卡片数,退出只回显之后新增的卡片;恢复时的完整展示和按键行为保持不变。验证:回归测试先失败、修复后通过;
gf fmt --check、gf check和相关交互测试通过。真实终端分别用两种方式退出,同一历史标记在主屏的新增次数均由 1 变为 0,退出后仍能恢复会话。任务文档:LiiiLabs/dev-agent#496。