Skip to content

Commit

Permalink
Tweaked a color in trending display
Browse files Browse the repository at this point in the history
  • Loading branch information
frossm committed Jul 31, 2021
1 parent 6004601 commit 79778bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.fross</groupId>
<artifactId>quoter</artifactId>
<version>2.7.9</version>
<version>2.7.10</version>
<packaging>jar</packaging>

<name>quoter</name>
Expand Down Expand Up @@ -173,7 +173,7 @@
<dependency>
<groupId>org.fusesource.jansi</groupId>
<artifactId>jansi</artifactId>
<version>2.3.3</version>
<version>2.3.4</version>
</dependency>

<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: quoter
version: '2.7.9'
version: '2.7.10'
summary: Command line utility to pull stock and index quotes
description: |
Quote fetches stock quotes and index data from IEXCloud.IO.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/fross/quoter/HistoricalQuotes.java
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public static void displayTrendingMap(String symb, String token) {

Output.printColorln(Ansi.Color.CYAN, " ".repeat(12) + sv + " ".repeat(titleSpaces1) + midNumber + " ".repeat(titleSpaces2) + lv);
Output.printColor(Ansi.Color.CYAN, " ".repeat(11) + "+" + "-".repeat(graphWidth / 2) + "+" + "-".repeat(graphWidth / 2) + "+");
Output.printColorln(Ansi.Color.CYAN, " Low" + " ".repeat(lengthOfCurrentPrice - 1) + "Close" + " ".repeat(lengthOfCurrentPrice - 3) + "High");
Output.printColorln(Ansi.Color.WHITE, " Low" + " ".repeat(lengthOfCurrentPrice - 1) + "Close" + " ".repeat(lengthOfCurrentPrice - 3) + "High");

// Loop through the sorted data and display the graph
for (Map.Entry<String, Float[]> i : resultTreeMap.entrySet()) {
Expand Down

0 comments on commit 79778bd

Please sign in to comment.