Skip to content

Commit

Permalink
Change terminal notification to unique thread ids
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-ou authored May 1, 2020
1 parent bb7dca0 commit dbb5e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event-handlers/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = messer => {
messer.state.threads.unreadThreadIds.push(thread.threadID);
messer.state.threads.lastThreadId = ev.threadID;

notifyTerminal(messer.state.threads.unreadThreadIds.length); // Terminal notification in title
notifyTerminal(new Set(messer.state.threads.unreadThreadIds).size); // Terminal notification in title
process.stderr.write("\x07"); // Terminal notification
},
};
Expand Down

0 comments on commit dbb5e62

Please sign in to comment.