~yerinalexey/rex

aa53759ab6e5bb8432e286baa200336e6450a7d8 — Alexey Yerin 4 months ago 14f1b65
Fix trailing whitespace
1 files changed, 2 insertions(+), 2 deletions(-)

M main.go
M main.go => main.go +2 -2
@@ 57,7 57,7 @@ func fatalf(format string, v ...interface{}) {
// splitLines splits lines by line feeds, removing \r
func splitLines(lines string) []string {
	newLines := []string{}
	

	for _, line := range strings.Split(lines, "\n") {
		// Here we strip \r that might come from files with CRLF,
		// which causes issues with matching $


@@ 89,7 89,7 @@ func regexWorker(in chan string, tests string, out *tview.TextView) {
			}

			row, column := out.GetScrollOffset()
			

			out.Clear()

			lines := splitLines(tests)