Add TitleCommand to set terminal window title#17
Add TitleCommand to set terminal window title#17anshumanjadiya1102 merged 4 commits intoDrive-for-Java:mainfrom
Conversation
|
@anshumanjadiya1102 fixed |
There was a problem hiding this comment.
Pull Request Overview
This PR implements a new terminal command to set the window title dynamically. The implementation adds a TitleCommand class that uses ANSI escape sequences to change the terminal window title and registers it as the "title" command in the shell.
- Adds a new
TitleCommandclass that implements theCommandinterface - Registers the "title" command in the main application's command registry
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/main/java/com/mycmd/commands/TitleCommand.java | New command implementation that sets terminal window title using ANSI escape sequences |
| src/main/java/com/mycmd/App.java | Registers the new title command in the command registry |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
@nihaltp, Please check above suggestions |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@anshumanjadiya1102 added the suggestion. |
|
Yes @nihaltp, So other can contribute easily |
|
can you merge this @anshumanjadiya1102 |
|
OK @nihaltp |
See #13