From d56f6adc750a43cbd8461f1b7d85fbca561628c5 Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Fri, 27 May 2016 13:04:56 -0700 Subject: [PATCH] improve display of now list --- bin/now-list | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/now-list b/bin/now-list index 10bbfc1..0e70215 100755 --- a/bin/now-list +++ b/bin/now-list @@ -75,8 +75,9 @@ async function list (token) { const current = Date.now(); const text = sorted.map(([name, deps]) => { const t = table(deps.map(({ uid, url, created }) => { + const _url = chalk.underline(`https://${url}`); const time = chalk.gray(ms(current - created) + ' ago'); - return [ uid, time, `https://${url}` ]; + return [uid, _url, time]; }), { align: ['l', 'r', 'l'], hsep: ' '.repeat(6) }); return chalk.bold(name) + '\n\n' + indent(t, 2); }).join('\n\n');