summaryrefslogtreecommitdiff
path: root/src/mode_default.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mode_default.c')
-rw-r--r--src/mode_default.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mode_default.c b/src/mode_default.c
index 8324c95..fe47654 100644
--- a/src/mode_default.c
+++ b/src/mode_default.c
@@ -278,7 +278,8 @@ default_input (struct screen *screen, SDL_KeyboardEvent *key)
int normal = normalize_keycode (code, mod);
if (normal)
{
- if (is_math_operator (normal) && 0 == state->entry.len)
+ if (is_math_operator (normal) && 0 == state->entry.len
+ && !(mod & KMOD_CTRL))
{
int rc = entry_write (state, TIB_CHAR_ANS);
if (rc)