Fix terminal resolving; Fix terminal logic error

This commit is contained in:
Karlatemp 2022-09-04 17:30:47 +08:00
parent 500ad3cc9e
commit 3949c9c08c
No known key found for this signature in database
GPG Key ID: BA173CA2B9956C59
2 changed files with 4 additions and 1 deletions

View File

@ -17,12 +17,12 @@ plugins {
dependencies {
implementation("org.jline:jline:3.21.0")
implementation("org.fusesource.jansi:jansi:2.4.0")
implementation(project(":mirai-console-frontend-base"))
compileAndTestRuntime(project(":mirai-core-utils"))
compileAndTestRuntime(project(":mirai-console"))
compileAndTestRuntime(project(":mirai-core-api"))
compileAndTestRuntime(project(":mirai-core-utils"))
compileAndTestRuntime(project(":mirai-console-frontend-base"))
compileAndTestRuntime(kotlin("stdlib-jdk8", Versions.kotlinStdlib)) // must specify `compileOnly` explicitly
testApi(project(":mirai-core"))

View File

@ -124,6 +124,9 @@ internal object JLineInputDaemon : Runnable {
processing = nnextTask
updateFlags(nnextTask)
if (lineReader.isReading) {
readerImpl.redisplay()
}
}
}