Skip to content

Optional ASCII-only console output #89

Open

Description

@jsarenik

When bwt is run, following is printed:

 INFO  bwt > bwt v0.2.4 connected to /Satoshi:0.21.0/ on main at height 680094

   ██████  ██     ██ ████████ 
   ██   ██ ██     ██    ██    
   ██████  ██  █  ██    ██        █▀▀█   █▀█    █▀█  
   ██   ██ ██ ███ ██    ██    █ █ █  █    ▄▀   █▄▄█▄ 
   ██████   ███ ███     ██    ▀▄▀ █▄▄█ █ █▄▄ █    █  

   /Satoshi:0.21.0/

   ✂️ ᴘʀᴜɴᴇᴅ 🗣️ ᴍᴇᴍᴘᴏᴏʟ ʀᴇʟᴀʏ 🙉 ɴᴏʟɪsᴛᴇɴ

     NETWORK: 🌐  ᴍᴀɪɴɴᴇᴛ
   CONNECTED: 💻  1 ᴘᴇᴇʀs
      UPTIME: ⏱️  22 ᴍɪɴs

   BANDWIDTH: 📶  12.6 ᴍʙ 🔼  430.0 ᴍʙ 🔽 (24ʜ ᴀᴠɢ)
  CHAIN SIZE: 💾  564.6 ᴍʙ

    HASHRATE: ⛏️  139.0 ᴇʜ/s (7ᴅ ᴀᴠɢ)
  DIFFICULTY: 🏋️  23.6 ᴛ (ʀᴇ-🎯  ɪɴ 9 ᴅᴀʏs ⏳)
  REWARD ERA: 🎁  6.25 ʙᴛᴄ (½ ɪɴ 37 ᴍᴏɴᴛʜs ⏳)

  LAST BLOCK: ⛓️  680094 / 7 ᴍɪɴs ᴀɢᴏ / 4.0 ᴍᴡᴜ / 1.7ᴋ ᴛxs
                 Fᴇᴇ ʀᴀᴛᴇ 144-282 / ᴀᴠɢ 211 / ᴛᴏᴛᴀʟ 2.113 ʙᴛᴄ
     MEMPOOL: 💭  45.1 ᴠᴍʙ / 36.3ᴋ ᴛxs / ᴍɪɴ Fᴇᴇ ʀᴀᴛᴇ 1
    FEES EST: 🏷️  20 ᴍɪɴs: 255 / 4 ʜᴏᴜʀs: 149 / 1 ᴅᴀʏ: 16

 SUPPORT DEV: 🚀  bc1qmuagsjvq0lh3admnafk0qnlql0vvxv08au9l2d / https://btcpay.shesek.info
...

This output is full of (probably fancy, just that I do not see them) UTF-8 characters. Even the half-sized capitals (for example Fᴇᴇ ʀᴀᴛᴇ) are printed as question-marks in my terminal (rxvt-unicode using Terminus font).

I think it would be a big help if there was an --ascii option, even better if ASCII output was the default and there was a --fancy option… What do you think @shesek ? Thank you for this amazing tool! It works very welly. This is just a way to say someone else uses it :)

Activity

  1. jsarenik commented on Apr 22, 2021

    @jsarenik
    Author

    F of Fᴇᴇ ʀᴀᴛᴇ is printed correctly of course. It is a common capital letter F with equivalent representation both in ASCII and UTF-8.

  2. shesek commented on Apr 23, 2021

    @shesek
    Collaborator

    Thanks for the suggestion! I will look into making an ASCII-only version of the banner.

    In the meanwhile, if you find the broken characters annoying, you can turn it off entirely using --no-startup-banner.

  3. jsarenik commented on Apr 24, 2021

    @jsarenik
    Author

    I actually like the banner! :-) Just wondering how to make it more readable in constrained environments… שבוע טוב!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions