MIN_EDIT_SPACE
#define MIN_COLS (2 + MIN_EDIT_SPACE + 3)
if (pwidth > x_cols - 3 - MIN_EDIT_SPACE) {
cur_col = x_cols - 3 - MIN_EDIT_SPACE;