Skip to content

Commit

Permalink
fix: Reverted some more changes done when fixing windows special char…
Browse files Browse the repository at this point in the history
…acters
  • Loading branch information
Roboroads committed Jun 17, 2024
1 parent 79a7d02 commit 48ef047
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,16 @@ import nl.deschepers.laraveltinker.util.PlugUtil
class PhpProcessListener(private val project: Project) :
ProcessListener {

companion object {
private const val OUTPUT_START_SEQUENCE = "%%START-OUTPUT%%"
private const val OUTPUT_END_SEQUENCE = "%%END-OUTPUT%%"
}

private val processOutput = ArrayList<String>()

private var capturing = false
private var firstLine = true

override fun startNotified(event: ProcessEvent) {
TinkerOutputToolWindowFactory.tinkerOutputToolWindow[project]?.plug = null
}
Expand All @@ -38,7 +46,7 @@ class PhpProcessListener(private val project: Project) :
}

override fun onTextAvailable(event: ProcessEvent, outputType: Key<*>) {
// print(event.text)
//print(event.text) // DEV: Uncomment to see what the output is that comes from the PHP process.

if (firstLine) {
firstLine = false
Expand Down

0 comments on commit 48ef047

Please sign in to comment.