ref: 083ddca1a35977eaa9bb8c227a0d5c41cf237342
parent: c98d73fc2318481eeb16d90144c697e87544bf46
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Feb 12 16:22:13 EST 2020
plan9: handle space differently depending on insert/append mode
--- a/plan9.c
+++ b/plan9.c
@@ -451,10 +451,12 @@
/* FIXME else remove selection */
break;
case ' ':
- pause = !pause;
- break;
+ if (insert) {
+ pause = !pause;
+ break;
+ }
default:
- if (key == Kdel)
+ if (key == Kdel || key == ' ')
key = '.';
if (orca_is_valid_glyph(key))
fieldset(key);