aboutsummaryrefslogtreecommitdiff
path: root/src/info.c
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2015-05-22 21:30:11 -0400
committerFranklin Wei <git@fwei.tk>2015-05-22 21:30:11 -0400
commitb83951ad2bf5d8029dfa0af2e73a6f3619841380 (patch)
tree1db116256aa4ccc3363ce8c3197c1aa2e79648c1 /src/info.c
parent9e53ccfefd2433452fdfa2bbe2ece903c0afb790 (diff)
downloadmarket-sim-b83951ad2bf5d8029dfa0af2e73a6f3619841380.zip
market-sim-b83951ad2bf5d8029dfa0af2e73a6f3619841380.tar.gz
market-sim-b83951ad2bf5d8029dfa0af2e73a6f3619841380.tar.bz2
market-sim-b83951ad2bf5d8029dfa0af2e73a6f3619841380.tar.xz
fancy curses stuff
Diffstat (limited to 'src/info.c')
-rw-r--r--src/info.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/info.c b/src/info.c
index c40d729..9e93d25 100644
--- a/src/info.c
+++ b/src/info.c
@@ -26,9 +26,8 @@ void info_handler(struct player_t *player)
output("Transaction history for '%s':\n", stock->symbol);
- output("================================================================================\n");
+ horiz_line();
print_history(stock);
- output("================================================================================\n");
-
+ horiz_line();
output("Current price: $%llu.%02llu\n", stock->current_price.cents / 100, stock->current_price.cents % 100);
}