Skip to content
Discussion options

You must be logged in to vote

You can use the ASCII box drawing characters to build the outline, as well as emojis.

I wrote a simple Dart program (similar possible with shell, if you don't have Dart installed) that takes the first word as command, and the rest as explanation and displays it in a box within Helix:

void main(List<String> args) {
    final cm = args[0];
    final rest = args.sublist(1).join(' ');

    print('┌────┬─' + '─' * cm.length + '─┬─' + '─' * rest.length + '─┐');
    print('│ 🧬 │ $cm │ $rest │');
    print('└────┴─' + '─' * cm.length + '─┴─' + '─' * rest.length + '─┘');
}

With the following config:

# The default way of going to the start of the line with Helix is: gh
0 = ["goto_line_start", ":sh …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@sweetbbak
Comment options

Answer selected by vincevargadev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants