Skip to content

Commit

Permalink
Adjust output to contain new lines in between
Browse files Browse the repository at this point in the history
  • Loading branch information
Nef10 committed Sep 8, 2019
1 parent ec725ce commit b92f246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BeanCountImporter/Controller/ImportViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class ImportViewController: NSViewController {
}

private func updateOutput() {
textView.string = String(describing: ledger).trimmingCharacters(in: .whitespacesAndNewlines)
textView.string = ledger.transactions.map { String(describing: $0) }.reduce("") { "\($0)\n\n\($1)" }.trimmingCharacters(in: .whitespacesAndNewlines)
}

private func showDataEntryViewForNextTransactionIfNeccessary() {
Expand Down

0 comments on commit b92f246

Please sign in to comment.