patch 8.2.0779: tmode_T not used everywhere

Problem:    Tmode_T not used everywhere.
Solution:   Also use tmode_T for settmode().
diff --git a/src/proto/term.pro b/src/proto/term.pro
index 4ac2858..fa7c69d 100644
--- a/src/proto/term.pro
+++ b/src/proto/term.pro
@@ -41,7 +41,7 @@
 void shell_resized(void);
 void shell_resized_check(void);
 void set_shellsize(int width, int height, int mustset);
-void settmode(int tmode);
+void settmode(tmode_T tmode);
 void starttermcap(void);
 void stoptermcap(void);
 void may_req_termresponse(void);
diff --git a/src/term.c b/src/term.c
index a575227..11972a1 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3436,7 +3436,7 @@
  * commands and Ex mode).
  */
     void
-settmode(int tmode)
+settmode(tmode_T tmode)
 {
 #ifdef FEAT_GUI
     // don't set the term where gvim was started to any mode
diff --git a/src/version.c b/src/version.c
index fa05a76..8e91aea 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    779,
+/**/
     778,
 /**/
     777,