Skip to content

Commit

Permalink
fix(devins-lang): fix console output formatting #101
Browse files Browse the repository at this point in the history
The commit fixes the formatting of console output by adding a newline before the separator. This ensures better readability for the users.
  • Loading branch information
phodal committed Mar 16, 2024
1 parent f134e59 commit 97c26e9
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -57,11 +57,12 @@ open class DevInRunConfigurationProfileState(
val compileResult = compiler.compile()

console.print(compileResult.output, ConsoleViewContentType.USER_INPUT)
console.print("--------------------\n", ConsoleViewContentType.NORMAL_OUTPUT)
console.print("\n--------------------\n", ConsoleViewContentType.NORMAL_OUTPUT)

ApplicationManager.getApplication().invokeLater {
if (compileResult.isLocalCommand) {
console.print("Local command detected, running in local mode", ConsoleViewContentType.SYSTEM_OUTPUT)
processHandler.detachProcess()
return@invokeLater
}

Expand Down

0 comments on commit 97c26e9

Please sign in to comment.