aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-01-04 17:04:27 -0500
committerB. Watson <urchlay@slackware.uk>2024-01-04 17:04:27 -0500
commit9efdae5fa5242e151a2e1a1dd24bc48081b28ec2 (patch)
treeab3fc388758e21279bb124335db1381dae9eb250
parentf81a4deb016966f724b3735a5db37ba732d445a8 (diff)
downloadhcalc-9efdae5fa5242e151a2e1a1dd24bc48081b28ec2.tar.gz
Make Enter *really* do the same as = key.
-rw-r--r--input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input.c b/input.c
index 575750b..26a5266 100644
--- a/input.c
+++ b/input.c
@@ -378,6 +378,7 @@ key(char c)
case 13:
case 10:
end_number();
+ pending_op = '=';
break;
case '~': /* Invert bits (one's complement) */