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.
- Individual keys now use bordered mini-panels (NormalBorder 238) + dedicated bg/fg per type: - Numbers: neutral dark - Operators: 63 accent - Clears (C/AC): red-tinted warning - MOD: orange highlight - BASE: 63 border + bold (stands out) - Height(2) + padding for chunkier physical-button presence. - Pressed state inverts to flashStyle (bright 63 bg + white bold) for 140ms on every key action — direct 'click' feedback. - Gaps between keys + full-width backing panel (bg 234 + border) create a 'faceplate' effect so keys look like they sit on a real calculator keyboard. - Updated per-key tracking (pressedKey) in model + Update so flash is applied to the correct button. - Documented the new tactile decoration in docs/UI_DESIGN.md (replaced old plain-text description). - Matches the wide integrated display row from previous iteration. The keypad now feels much more tactile and calculator-like while staying true to the lipgloss + gostations patterns. |
||
|---|---|---|
| docs | ||
| internal | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| Makefile | ||
| spec.md | ||