~ev/wiredove-chat

5f96b6a9fbcb375f5a9009e221686c3968b50788 — Ev Bogue 1 year, 2 months ago 813c36f
add newline before received posts
1 files changed, 1 insertions(+), 1 deletions(-)

M client.js
M client.js => client.js +1 -1
@@ 39,7 39,7 @@ keys('wiredove').then(keypair => {
      unbox(msg.data, key).then(unboxed => {
        open(unboxed, key).then(opened => {
          var message = JSON.parse(opened)
          console.log(message.author.substring(0, 10) + ' ' + message.text + ' ' + message.timestamp)
          console.log('\n' + message.author.substring(0, 10) + ' ' + message.text + ' ' + message.timestamp)
        })
        Deno.stdout.write(new TextEncoder().encode(prompty))
      })