lines, barebones drawing window

addition of lines means ipc slightly changed, though can be ignored. also, minor malvim fix
This commit is contained in:
stjet
2025-08-12 06:53:57 +00:00
parent ec5cba13c8
commit 2c4455f623
10 changed files with 346 additions and 13 deletions

14
docs/window-likes/draw.md Normal file
View File

@@ -0,0 +1,14 @@
Very basic drawing board.
## Moving
Arrow keys or hjkl. `i` to enter input mode. Use the enter key to finish a line or rectangle. Escape to cancel line or rectangle in progress.
## Input Commands
- `line`: Start line with current point as start. Move and hit enter to determine line endpoint
- `rect`: Start rect with current point as a corner. Move and hit enter to determine the opposite corner
- `color/c/colour [lowercase 6 char hex string]`: Set current colour
- `linewidth/lw [int]`: Set current line width
- `undo`: Undo last draw
- `clear`: Clear all drawings