// default to close when the shell exits
if (opt.jo_term_finish == NUL)
- opt.jo_term_finish = 'c';
+ opt.jo_term_finish = TL_FINISH_CLOSE;
}
if (eap->addr_count > 0)
}
/*
- * Called after the job if finished and Terminal mode is not active:
+ * Called after the job is finished and Terminal mode is not active:
* Move the vterm contents into the scrollback buffer and free the vterm.
*/
static void
case 1: return lookup_color( 0, fg, boldp) + 1; // black
case 2: return lookup_color( 4, fg, boldp) + 1; // dark red
case 3: return lookup_color( 2, fg, boldp) + 1; // dark green
- case 4: return lookup_color( 6, fg, boldp) + 1; // brown
+ case 4: return lookup_color( 7, fg, boldp) + 1; // dark yellow
case 5: return lookup_color( 1, fg, boldp) + 1; // dark blue
case 6: return lookup_color( 5, fg, boldp) + 1; // dark magenta
case 7: return lookup_color( 3, fg, boldp) + 1; // dark cyan