Skip to content

Commit b2d9cd1

Browse files
zelenskiCS107E BOT
authored andcommitted
fix typo: shell_beep->shell_bell
commit 1ac759acb58d9715c71b7b37c3f32c03bef270e9 Author: Julie Zelenski <[email protected]> Date: Thu Nov 7 11:59:43 2024 -0800 fix typo: shell_beep->shell_bell
1 parent 4a1433a commit b2d9cd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assignments/assign5/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ cs107e rocks
577577
3 history
578578
```
579579
580-
Implement the up and down arrow keys to access commands from the history. Typing an up arrow changes the current line to display the command from the history that is previous to the one on the current line. Typing a down arrow changes the current line to display the command that ran _after_ the one on the current line, or whatever the user had typed until he/she typed up. Use the `shell_beep` when the user tries to move beyond either end of the history.
580+
Implement the up and down arrow keys to access commands from the history. Typing an up arrow changes the current line to display the command from the history that is previous to the one on the current line. Typing a down arrow changes the current line to display the command that ran _after_ the one on the current line, or whatever the user had typed until he/she typed up. Call `shell_bell` to alert the user if they try to move beyond either end of the history.
581581
582582
What other history features will be handy? `!!` to repeat the last command? `!po` to repeat the most recent command matching the specified prefix `po`?
583583

0 commit comments

Comments
 (0)