Modified action() to take take a copy of command rather than a pointer.
It should be safer now that we're not scribbling all over command in action(), as it's closer to pure. Also fixed a bug in say.
This commit is contained in:
parent
30f13c6c25
commit
ca5374edc3
4 changed files with 114 additions and 111 deletions
|
@ -124,19 +124,19 @@ Nothing happens.
|
|||
|
||||
> say fee
|
||||
|
||||
I don't know how.
|
||||
OK
|
||||
|
||||
> say fie
|
||||
|
||||
I don't know how.
|
||||
OK
|
||||
|
||||
> say foe
|
||||
|
||||
I don't know how.
|
||||
OK
|
||||
|
||||
> say fum
|
||||
|
||||
I don't know how.
|
||||
Nothing happens.
|
||||
|
||||
> in
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue