@@ -4430,6 +4430,7 @@ fn shell(cx: &mut compositor::Context, cmd: &str, behavior: &ShellBehavior) {
4430 if behavior != &ShellBehavior::Ignore {
4430 if behavior != &ShellBehavior::Ignore {
4431 let transaction = Transaction::change(doc.text(), changes.into_iter());
4431 let transaction = Transaction::change(doc.text(), changes.into_iter());
4432 doc.apply(&transaction, view.id);
4432 doc.apply(&transaction, view.id);
4433+ doc.append_changes_to_history(view.id);
4435 // after replace cursor may be out of bounds, do this to
4436 // after replace cursor may be out of bounds, do this to