mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Clear prompt before clearing screen
Fixes gh-219
This commit is contained in:
parent
fa8e4768b9
commit
1f5cba9e32
@ -131,6 +131,7 @@ public class ShellCommand extends AbstractCommand {
|
||||
}
|
||||
|
||||
if ("clear".equals(line.trim())) {
|
||||
consoleReader.setPrompt(null);
|
||||
consoleReader.clearScreen();
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user