mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-16 02:12:58 +08:00
fix: snippet unescape (#567)
This commit is contained in:
@@ -50,7 +50,7 @@ class SnippetAction private constructor() : AnAction(I18n.getString("termora.sni
|
|||||||
for (e in map.entries) {
|
for (e in map.entries) {
|
||||||
text = text.replace(e.key, e.value.toString())
|
text = text.replace(e.key, e.value.toString())
|
||||||
}
|
}
|
||||||
text = snippet.snippet.replace(Char.Null, '\\')
|
text = text.replace(Char.Null, '\\')
|
||||||
|
|
||||||
writer.write(TerminalWriter.WriteRequest.fromBytes(text.toByteArray(writer.getCharset())))
|
writer.write(TerminalWriter.WriteRequest.fromBytes(text.toByteArray(writer.getCharset())))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user