manager: Fix the character processing logic in the clear command of FlashScreen.
This commit is contained in:
@@ -197,7 +197,7 @@ fun FlashScreen(navigator: DestinationsNavigator, flashIt: FlashIt) {
|
|||||||
}
|
}
|
||||||
}, onStdout = {
|
}, onStdout = {
|
||||||
tempText = "$it\n"
|
tempText = "$it\n"
|
||||||
if (tempText.startsWith("[H[J")) { // clear command
|
if (tempText.startsWith("[H[J")) { // clear command
|
||||||
text = tempText.substring(6)
|
text = tempText.substring(6)
|
||||||
} else {
|
} else {
|
||||||
text += tempText
|
text += tempText
|
||||||
|
|||||||
Reference in New Issue
Block a user