You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have implemented "clear" command for shell, can you assign this issue to me? I'll appreciate it if you can assign it to me.I will propose PR after sorting it out.
Good First Issue: Implement "clear" Command for Shell
Objective
Add a new shell command
clear
that clears the screen and resets the cursor to the top-left corner.Task Details
Add Command Handling
clear
.Clear Screen Functionality
clearScreen()
function invga.c
to clear the screen content.setCursorPosition(2, 0)
to ensure the shell prompt is displayed after the header.Integration
clear
command does not interfere with other shell commands.clear
command in the shell and verifying that the screen is cleared, and the cursor is reset correctly.Acceptance Criteria
clear
in the shell should clear the screen and reset the cursor to the prompt position.Hints
handleBackgroundColor()
function for reference on how commands are handled in the shell.scroll_screen()
function as a fallback if additional modifications are needed to ensure proper cursor placement after clearing.The text was updated successfully, but these errors were encountered: