0 0
Sign in to rate

ANSI Escape codes

0.01MB. 0 audio & 0 images. Updated 2019-02-14.


Cards to help learn ANSI Escape Codes for command-line UI formatting. These don't give a full picture of the complete spec; only the parts that my team finds useful for building our own command-line user interfaces. Read this post first: https://notes.burke.libbey.me/ansi-escape-codes

Sample (from 115 notes)

Cards are customizable! When this deck is imported into the desktop program, cards will appear as the deck author has made them. If you'd like to customize what appears on the front and back of a card, you can do so by clicking the Edit button, and then clicking the Cards button.
Front What does \x1b[u do?
Back Restores a cursor position previously saved by \x1b[s
Front What does \x1b[4B do?
Back Moves cursor down by two lines
Front How would you save a cursor position for later restoration?
Back \x1b[s

After the file is downloaded, double-click on it to open it in the desktop program.

At this time, it is not possible to add shared decks directly to your AnkiWeb account - they need to be added from the desktop then synchronized to AnkiWeb.