summaryrefslogtreecommitdiffstats
path: root/src/os_amiga.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-17 14:06:16 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-17 14:06:16 +0200
commit26e86445bf06ab7e7587dfdf75f33f7c70632b46 (patch)
tree06de58be8af393479646d44e4e20aa554c22f28f /src/os_amiga.c
parent3b1f18f785f67c6cd110498c366e4d0c0fe11f27 (diff)
patch 8.2.0774: t_TI and t_TE are output when using 'visualbell'v8.2.0774
Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique Pelle) Solution: Do not change the terminal mode for a short sleep. Do not output t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an enum.
Diffstat (limited to 'src/os_amiga.c')
-rw-r--r--src/os_amiga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_amiga.c b/src/os_amiga.c
index 58e462d5cb..850c26acda 100644
--- a/src/os_amiga.c
+++ b/src/os_amiga.c
@@ -977,7 +977,7 @@ mch_exit(int r)
* it sends a 0 to the console to make it back into a CON: from a RAW:
*/
void
-mch_settmode(int tmode)
+mch_settmode(tmode_T tmode)
{
#if defined(__AROS__) || defined(__amigaos4__)
if (!SetMode(raw_in, tmode == TMODE_RAW ? 1 : 0))