changeset 25018:76c9f536bafb v8.2.3046

patch 8.2.3046: Amiga MorphOS: Term mode is set using DOS packets Commit: https://github.com/vim/vim/commit/b420ac9d20d484ba0ebf3e328069251a63f96996 Author: ola.soder@axis.com <ola.soder@axis.com> Date: Thu Jun 24 21:43:31 2021 +0200 patch 8.2.3046: Amiga MorphOS: Term mode is set using DOS packets Problem: Amiga MorphOS: Term mode is set using DOS packets. Solution: Use the same way of setting term mdoe on all next gen Amiga-like systems. (Ola S?der, closes #8445)
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Jun 2021 21:45:03 +0200
parents 9ea1256e817e
children 78657f6a1e06
files src/os_amiga.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os_amiga.c
+++ b/src/os_amiga.c
@@ -982,7 +982,7 @@ mch_exit(int r)
     void
 mch_settmode(tmode_T tmode)
 {
-#if defined(__AROS__) || defined(__amigaos4__)
+#if defined(__AROS__) || defined(__amigaos4__) || defined(__MORPHOS__)
     if (!SetMode(raw_in, tmode == TMODE_RAW ? 1 : 0))
 #else
     if (dos_packet(MP(raw_in), (long)ACTION_SCREEN_MODE,
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3046,
+/**/
     3045,
 /**/
     3044,