diff options
author | B. Watson <urchlay@slackware.uk> | 2024-01-03 13:01:39 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-01-03 13:01:39 -0500 |
commit | b9ab36a37ae061f500da2909e563b93c42ff6336 (patch) | |
tree | 27ab8de0db59d357d907539d9b8ed81fa693853b | |
parent | fb34cf86f6388f7f40109aea4b7c466e6cc178c2 (diff) | |
download | hcalc-b9ab36a37ae061f500da2909e563b93c42ff6336.tar.gz |
Add i as synonym for _ (+/-).
-rw-r--r-- | hcalc.rst | 2 | ||||
-rw-r--r-- | input.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -126,7 +126,7 @@ KEYBOARD Decimal point. Only works in decimal mode (base 10); other bases are integer-only. -**_** +**_** **i** Invert sign. The *+/-* key. **=** **Enter** @@ -306,6 +306,7 @@ key(char c) break; case '_': /* The +/- key */ + case 'i': if (making_number) { if (input_buf[0] == '-') |