From 041c7107f23d3b49ab62c1d7e36af90421db8b63 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 30 May 2020 18:14:57 +0200 Subject: patch 8.2.0849: BeOS code is not maintained and probably unused Problem: BeOS code is not maintained and probably unused. Solution: Remove the BeOS code. (Emir Sari, closes #5817) --- src/screen.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/screen.c') diff --git a/src/screen.c b/src/screen.c index 6893ca36f..9dac324b9 100644 --- a/src/screen.c +++ b/src/screen.c @@ -3868,19 +3868,6 @@ screen_del_lines( type = USE_REDRAW; else if (can_clear(T_CD) && result_empty) type = USE_T_CD; -#if defined(__BEOS__) && defined(BEOS_DR8) - /* - * USE_NL does not seem to work in Terminal of DR8 so we set T_DB="" in - * its internal termcap... this works okay for tests which test *T_DB != - * NUL. It has the disadvantage that the user cannot use any :set t_* - * command to get T_DB (back) to empty_option, only :set term=... will do - * the trick... - * Anyway, this hack will hopefully go away with the next OS release. - * (Olaf Seibert) - */ - else if (row == 0 && T_DB == empty_option - && (line_count == 1 || *T_CDL == NUL)) -#else else if (row == 0 && ( #ifndef AMIGA // On the Amiga, somehow '\n' on the last line doesn't always scroll @@ -3888,7 +3875,6 @@ screen_del_lines( line_count == 1 || #endif *T_CDL == NUL)) -#endif type = USE_NL; else if (*T_CDL != NUL && line_count > 1 && can_delete) type = USE_T_CDL; -- cgit v1.2.1