--- freem/src/xecline.c 2025/05/20 18:07:41 1.31 +++ freem/src/xecline.c 2026/03/19 19:03:58 1.32 @@ -1,5 +1,5 @@ /* - * $Id: xecline.c,v 1.31 2025/05/20 18:07:41 snw Exp $ + * $Id: xecline.c,v 1.32 2026/03/19 19:03:58 snw Exp $ * freem interpreter proper * * @@ -24,6 +24,9 @@ * along with FreeM. If not, see . * * $Log: xecline.c,v $ + * Revision 1.32 2026/03/19 19:03:58 snw + * Attempt to rectify terminal corruption problem when the user performs a gracious exit + * * Revision 1.31 2025/05/20 18:07:41 snw * Add completion to debugger * @@ -5153,6 +5156,7 @@ halt: i = 0; } + set_io (UNIX); cleanup (); if (father) { /* advertise death to parent *//* make sure father is waiting !!! */