Skip to content

Instantly share code, notes, and snippets.

@aaabramov
Last active April 29, 2024 11:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save aaabramov/90ec8a3ddfe7ac06ae387a00d02ae555 to your computer and use it in GitHub Desktop.
Save aaabramov/90ec8a3ddfe7ac06ae387a00d02ae555 to your computer and use it in GitHub Desktop.
Drawing tables (boxes) using UTF-8 symbols
┏━━━━━━┳━━━━━━┓ ┏━━━━━━┯━━━━━━┓ ┌──────┬──────┐ ╔══════╦══════╗
┃ col1 ┃ col2 ┃ ┃ col1 │ col2 ┃ │ col1 │ col2 │ ║ col1 ║ col2 ║
┣━━━━━━╋━━━━━━┫ ┠──────┼──────┨ ├──────┼──────┤ ╠══════╬══════╣
┃ val1 ┃ val2 ┃ ┃ val1 │ val2 ┃ │ val1 │ val2 │ ║ val1 ║ val2 ║
┗━━━━━━┻━━━━━━┛ ┗━━━━━━┷━━━━━━┛ └──────┴──────┘ ╚══════╩══════╝
@con-f-use
Copy link

Thanks. Python's PrettyTable is also something I've been looking at.

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