summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-17 21:09:15 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-17 21:09:15 -0400
commit1b083919c0ced1cbb64b46da58180b0c33123364 (patch)
treea39128321a9246d32598e21fff0cc020ba7f0760 /src/session.cc
parent24e64c202ea71ad73a860f16c6ba4b9288768fef (diff)
downloadfork-ledger-1b083919c0ced1cbb64b46da58180b0c33123364.tar.gz
fork-ledger-1b083919c0ced1cbb64b46da58180b0c33123364.tar.bz2
fork-ledger-1b083919c0ced1cbb64b46da58180b0c33123364.zip
Restored the 'print' command.
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.cc b/src/session.cc
index 3b0b77e1..74dd13e6 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -79,7 +79,7 @@ session_t::session_t()
("%-.9D %-.35P %-.39A %22.108t %!22.132T\n%/"
"%48|%-.38A %22.108t %!22.132T\n"),
print_format
- ("\n%d %Y%C%P\n %-34W %12o%n\n%/ %-34W %12o%n\n"),
+ ("%(date)%(cleared ? \" *\" : (uncleared ? \"\" : \" !\"))%(code ? \" (\" + code + \")\" : \"\") %(payee)\n %-34(account) %12(amount)\n%/ %-34(account) %12(amount)%(note ? \" ; \" + note : \"\")\n"),
balance_format
("%20T %_%-a\n"),
equity_format