diff options
author | B. Watson <urchlay@slackware.uk> | 2024-01-04 17:21:00 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-01-04 17:21:00 -0500 |
commit | 6ee03a61e3d3070b9975655ee4fe525543ed979f (patch) | |
tree | 11d87d2601020bedbaabe3a2b295908982e2ed54 | |
parent | 96a07d81eebb9e4bd7b3e906162ddd1f8db4d367 (diff) | |
download | hcalc-6ee03a61e3d3070b9975655ee4fe525543ed979f.tar.gz |
Document u key.
-rw-r--r-- | hcalc.1 | 8 | ||||
-rw-r--r-- | hcalc.h | 1 | ||||
-rw-r--r-- | hcalc.rst | 8 |
3 files changed, 15 insertions, 2 deletions
@@ -159,9 +159,15 @@ once in \-2. \fIDEL\fP key: delete the rightmost digit. .TP .B \fBC\fP \fBEscape\fP -\fICLR\fP key: clears the number. +\fICLR\fP key: clears the number and any pending operation. +.TP +.B \fBu\fP +Clears the number, same as backspacing over it, but does not +clear any pending operation. There is no button in the UI for +this, so it can\(aqt be done with the mouse. .TP .B \fBD\fP \fBH\fP \fBO\fP \fBB\fP +\fIDEC\fP \fIHEX\fP \fIOCT\fP \fIBIN\fP keys. Set the number base to decimal, hex, octal, or binary. The number currently displayed is converted into the new base. These are capital letters (hold down Shift). @@ -58,5 +58,6 @@ void process_input(); void load_config(void); void save_config(void); void show_value(); +void bell(void); #define MAXCHARS 15 @@ -147,9 +147,15 @@ KEYBOARD *DEL* key: delete the rightmost digit. **C** **Escape** - *CLR* key: clears the number. + *CLR* key: clears the number and any pending operation. + +**u** + Clears the number, same as backspacing over it, but does not + clear any pending operation. There is no button in the UI for + this, so it can't be done with the mouse. **D** **H** **O** **B** + *DEC* *HEX* *OCT* *BIN* keys. Set the number base to decimal, hex, octal, or binary. The number currently displayed is converted into the new base. These are capital letters (hold down Shift). |