Skip to content

Commit 3620dd7

Browse files
committed
Add notes recommending the use of the readline library for shell history implementation in course-definition.yml
1 parent a5950fb commit 3620dd7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

course-definition.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,6 +1483,10 @@ stages:
14831483
14841484
The tester will expect the previous commands to be displayed when the down arrow key is pressed.
14851485
1486+
### Notes
1487+
1488+
- We recommend using a library like [readline](https://en.wikipedia.org/wiki/GNU_Readline) for your implementation. Most modern shells and REPLs (like the Python REPL) use readline under the hood. While you may need to override some of its default behaviors, it's typically less work than starting from scratch.
1489+
14861490
marketing_md: |-
14871491
In this stage, you'll implement support for recalling history with the down arrow key.
14881492

0 commit comments

Comments
 (0)