diff src/screen.c @ 20591:4411c2b96af9 v8.2.0849

patch 8.2.0849: BeOS code is not maintained and probably unused Commit: https://github.com/vim/vim/commit/041c7107f23d3b49ab62c1d7e36af90421db8b63 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 30 18:14:57 2020 +0200 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 https://github.com/vim/vim/issues/5817)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 May 2020 18:30:04 +0200
parents b6a0237e8478
children 68c206d3a251
line wrap: on
line diff
--- 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;