Update termadapt.c