diff options
-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). |