Skip to content

Commit adb35f8

Browse files
authored
Merge pull request #96 from codecrafters-io/andy/tweak
Add readline notes to history up-arrow #rh7
2 parents 0266926 + 3620dd7 commit adb35f8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

course-definition.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,6 +1444,10 @@ stages:
14441444
14451445
The tester will expect the previous commands to be displayed when the up arrow key is pressed.
14461446
1447+
### Notes
1448+
1449+
- 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.
1450+
14471451
marketing_md: |-
14481452
In this stage, you'll implement support for recalling history with the up arrow key.
14491453
@@ -1479,6 +1483,10 @@ stages:
14791483
14801484
The tester will expect the previous commands to be displayed when the down arrow key is pressed.
14811485
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+
14821490
marketing_md: |-
14831491
In this stage, you'll implement support for recalling history with the down arrow key.
14841492

0 commit comments

Comments
 (0)