Build ASCII diagrams in terminal using keyboard.
pip install term-ascii-diagram
Key | Description |
---|---|
Arrow Keys or hjkl |
Move the cursor or selected object |
Shift +Arrow Keys or HJLK |
Resize selected object |
q |
Quit (with confirmation) |
s |
Save to file |
o |
Open from file |
b |
Add box |
c |
Add line |
a |
Add arrow |
d |
Delete selected object |
t |
Toggle sticky mode (whether moving boxes should move attached arrows/lines) |
Tab |
Select next object |
Shift +Tab |
Select previous object |
Enter |
Edit box text if selected, otherwise, select the object under cursor |
Esc |
Unselect current object |
Space |
Toggle the line/arrow orientation or box border |