do_suspend()
- Call tcsetattr() to restore the old terminal settings, so
tcsh can use ^C after suspend for example (fixes BUG #68).
+ do_wrap()
+ - Move "right" increment to part where new line is created,
+ should change (fix?) some wrapping problems with autoindent.
- global.c:
shorcut_init()
- Replace hard coded ALT_G and ALT_H values in the replace
while ((inptr->next->data[i] == ' '
|| inptr->next->data[i] == '\t')) {
i++;
- right++;
}
}
#endif
while ((inptr->next->data[i] == ' '
|| inptr->next->data[i] == '\t')) {
i++;
- right++;
}
}
#endif
extra++;
spc++;
totsize++;
+ right++;
}
t = charalloc(strlen(temp->data) + extra + 1);
strncpy(t, inptr->data, extra);