comparison src/term.c @ 12716:351cf7c67bbe v8.0.1236

patch 8.0.1236: Mac features are confusing commit https://github.com/vim/vim/commit/d057301b1f28736f094affa17b190244ad56e8d9 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 28 21:11:06 2017 +0200 patch 8.0.1236: Mac features are confusing Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
author Christian Brabandt <cb@256bit.org>
date Sat, 28 Oct 2017 21:15:35 +0200
parents a715f0b44532
children 2c502179c75d
comparison
equal deleted inserted replaced
12715:279ec0abb4ac 12716:351cf7c67bbe
2532 * like msg_puts() and screen_putchar() for that). 2532 * like msg_puts() and screen_putchar() for that).
2533 */ 2533 */
2534 void 2534 void
2535 out_char(unsigned c) 2535 out_char(unsigned c)
2536 { 2536 {
2537 #if defined(UNIX) || defined(VMS) || defined(AMIGA) || defined(MACOS_X_UNIX) 2537 #if defined(UNIX) || defined(VMS) || defined(AMIGA) || defined(MACOS_X)
2538 if (c == '\n') /* turn LF into CR-LF (CRMOD doesn't seem to do this) */ 2538 if (c == '\n') /* turn LF into CR-LF (CRMOD doesn't seem to do this) */
2539 out_char('\r'); 2539 out_char('\r');
2540 #endif 2540 #endif
2541 2541
2542 out_buf[out_pos++] = c; 2542 out_buf[out_pos++] = c;
2552 * out_char_nf(c): like out_char(), but don't flush when p_wd is set 2552 * out_char_nf(c): like out_char(), but don't flush when p_wd is set
2553 */ 2553 */
2554 static void 2554 static void
2555 out_char_nf(unsigned c) 2555 out_char_nf(unsigned c)
2556 { 2556 {
2557 #if defined(UNIX) || defined(VMS) || defined(AMIGA) || defined(MACOS_X_UNIX) 2557 #if defined(UNIX) || defined(VMS) || defined(AMIGA) || defined(MACOS_X)
2558 if (c == '\n') /* turn LF into CR-LF (CRMOD doesn't seem to do this) */ 2558 if (c == '\n') /* turn LF into CR-LF (CRMOD doesn't seem to do this) */
2559 out_char_nf('\r'); 2559 out_char_nf('\r');
2560 #endif 2560 #endif
2561 2561
2562 out_buf[out_pos++] = c; 2562 out_buf[out_pos++] = c;