~gpanders/gpanders.com

58700f6b0017b9cca766a5305e5a667750f1bce0 — Gregory Anders 2 months ago 56b6477
Fix indentation
1 files changed, 11 insertions(+), 11 deletions(-)

M content/blog/making-ijq-fast.md
M content/blog/making-ijq-fast.md => content/blog/making-ijq-fast.md +11 -11
@@ 107,18 107,18 @@ changes:
```go
filterInput.SetChangedFunc(func(text string) {
	go app.QueueUpdateDraw(func() {
			errorView.Clear()
			doc.filter = text
			outputView.ScrollToBeginning()
			_, err := doc.WriteTo(outputView)
			if err != nil {
					exitErr, ok := err.(*exec.ExitError)
					if ok {
							fmt.Fprint(tview.ANSIWriter(errorView), string(exitErr.Stderr))
					}

					return
		errorView.Clear()
		doc.filter = text
		outputView.ScrollToBeginning()
		_, err := doc.WriteTo(outputView)
		if err != nil {
			exitErr, ok := err.(*exec.ExitError)
			if ok {
				fmt.Fprint(tview.ANSIWriter(errorView), string(exitErr.Stderr))
			}

			return
		}
	})
})
```