Automatic semicolon insertion generally is a bitch but it has rendered this a non-issue. One should be more alarmed by the call to `spawn_sync`, since it may introduce lag if gnome-calculater needs some miliseconds to be launched and to calculate the expression.