diff --git a/frontend/mirai-console-terminal/src/MiraiConsoleImplementationTerminal.kt b/frontend/mirai-console-terminal/src/MiraiConsoleImplementationTerminal.kt index 6c0cf0231..08c20e4b0 100644 --- a/frontend/mirai-console-terminal/src/MiraiConsoleImplementationTerminal.kt +++ b/frontend/mirai-console-terminal/src/MiraiConsoleImplementationTerminal.kt @@ -78,6 +78,7 @@ class MiraiConsoleImplementationTerminal override val isAnsiSupported: Boolean get() = true override fun createLoginSolver(requesterBot: Long, configuration: BotConfiguration): LoginSolver { + LoginSolver.Default?.takeIf { it !is StandardCharImageLoginSolver }?.let { return it } return StandardCharImageLoginSolver(input = { requestInput("LOGIN> ") }) }