Editor#applyBuffer now does tview escaping
MODIFY
ui/editor.go
ui/editor.go
@@ -26,7 +26,7 @@ type Editor struct {
}
func (editor *Editor) applyBuffer() {
- bufferToString := editor.buffer.String()
+ bufferToString := tviewutil.Escape(editor.buffer.String())
selectionStart := editor.buffer.Cursor.CurSelection[0]
selectionEnd := editor.buffer.Cursor.CurSelection[1]

Editor#applyBuffer now does tview escaping