Greg's calculator - a terminal UI calculator inspired by galculator (GTK), implemented in Go with Bubble Tea. Features decimal math, base display cycling (DEC/HEX/BIN/OCT) with CERR on non-integers, tactile keypad, wide integrated display.
- Refactored View() display to a single wide row inside the LCD panel: - Leading base indicator on the left: [BIN], [HEX], etc. (flashes on successful cycle) - Number (or CERR) right-aligned in the remaining maximal width (spans full available inside the card) - LCD container uses full dispW (based on terminal width) + vertical padding for visual weight - CERR still flashes the number slot (base label remains visible on left) - Keypad grid and hint now also respect the wide dispW and are centered under the display - Updated docs/UI_DESIGN.md and ARCHITECTURE.md with the new integrated layout (replaced old separate two-row description and ASCII) - Matches user request: main display spans full maximal width; base begins the main display row (e.g. [ [BIN] [ 3465... ] ] inside the panel) This is iterative polish on the phase 3 spike. Paper trail updated. |
||
|---|---|---|
| docs | ||
| internal | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| Makefile | ||
| spec.md | ||