We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a7c19e commit 04f8783Copy full SHA for 04f8783
kshell/src/main/kotlin/com/github/khud/sparklin/kshell/plugins/PastePlugin.kt
@@ -45,7 +45,9 @@ class PastePlugin : Plugin {
45
this.repl = repl
46
this.console = repl.reader
47
this.pasteConsole = repl.readerBuilder.highlighter(console.highlighter).build()
48
+
49
pasteConsole.option(LineReader.Option.DISABLE_HIGHLIGHTER, console.isSet(LineReader.Option.DISABLE_HIGHLIGHTER))
50
+ pasteConsole.option(LineReader.Option.DISABLE_EVENT_EXPANSION, true)
51
pasteConsole.setVariable(LineReader.SECONDARY_PROMPT_PATTERN, "")
52
53
repl.registerCommand(Paste(config))
0 commit comments