Skip to content
Commit ec81b433 authored by Yuanle Song's avatar Yuanle Song
Browse files

make undo work.

- implemented undo using snapshots.
  I kept recent 1000 snapshots in a bounded stack.
  note: snapshot must clone the underlying array instead of shadow copying.
- bugfix: when input invalid number like "2.3.", the error msg was not
  shown on #error-msg.
- use monospace font on #number-display
parent 64b2e803
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment