aboutsummaryrefslogtreecommitdiff
path: root/src/info.c
diff options
context:
space:
mode:
authorFranklin Wei <franklin@fwei.ml>2015-05-22 21:30:11 -0400
committerFranklin Wei <frankhwei536@gmail.com>2015-05-22 21:30:11 -0400
commite1a71a012bc9a5e666fb03ed8b7eca16b7eabb3a (patch)
tree1db116256aa4ccc3363ce8c3197c1aa2e79648c1 /src/info.c
parent50b5b9d966fc51d2ad819f313ed26d110fb658a4 (diff)
downloadmarket-sim-e1a71a012bc9a5e666fb03ed8b7eca16b7eabb3a.zip
market-sim-e1a71a012bc9a5e666fb03ed8b7eca16b7eabb3a.tar.gz
market-sim-e1a71a012bc9a5e666fb03ed8b7eca16b7eabb3a.tar.bz2
market-sim-e1a71a012bc9a5e666fb03ed8b7eca16b7eabb3a.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);
}