Skip to content

Commit

Permalink
fix a bug, new version 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
aviaryan committed Feb 26, 2018
1 parent 8bdf817 commit 433b8d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/solarized.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const colors = {
'orange': '#cb4b16',
// functions
getUserColor: (user) => {
const options = ['green', 'magneta', 'violet', 'blue', 'cyan', 'yellow', 'orange', 'red'];
const options = ['green', 'magenta', 'violet', 'blue', 'cyan', 'yellow', 'orange', 'red'];
let color = options[colors.getStringSum(user) % options.length];
return colors[color];
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chattt",
"version": "0.1.3",
"version": "0.1.4",
"description": "Chattt",
"main": "index.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion ui/box.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ let self = {
lineCount = 0;
},
setJoinMessage: (ch, url) => {
box.content = `{center}#${ch} at {${colors.blue}-fg}${url}{/${colors.blue}-fg}{/center}`;
box.content = `{center}#${ch} at {${colors.blue}-fg}${url}{/${colors.blue}-fg} (ctrl-c to exit){/center}`;
self.screen.render();
}
};
Expand Down

0 comments on commit 433b8d4

Please sign in to comment.