RT-Thread / RT-Thread/rt-thread
[Feature]现在的shell为什么不使用链表的方式来管理历史命令呢,是基于那方便考虑的呢?还有是否考虑为shell增加Ctrl+z/y功能,有些时候使用起来太不方便了
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
Describe problem solved by the proposed feature
现在存储历史命令的方式是二位数组,且历史命令满了后,需要逐条拷贝移动,如果增加历史命令数量,这里是比较耗时的
Describe your preferred solution
No response
Describe possible alternatives
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or shell entry point is named. Start by locating the shell history implementation and confirming how its two-dimensional array stores and shifts commands. Clarify whether the scope includes only linked-list history storage or also Ctrl+z/y editing, then define tests and completion criteria before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100