view runtime/macros/maze/mazeansi.c @ 18461:7f16792d15f7 v8.1.2224

patch 8.1.2224: cannot build Amiga version Commit: https://github.com/vim/vim/commit/dfded98f87601b11271ee88392c821ceb6390eda Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 26 21:33:19 2019 +0200 patch 8.1.2224: cannot build Amiga version Problem: Cannot build Amiga version. Solution: Add dummy mch_setmouse(). (Ola S?der, closes https://github.com/vim/vim/issues/5126)
author Bram Moolenaar <Bram@vim.org>
date Sat, 26 Oct 2019 21:45:03 +0200
parents 3fc0f57ecb91
children
line wrap: on
line source

char*M,A,Z,E=40,J[80],T[3];main(C){for(M=J+E,*J=A=scanf("%d",&
C)            ;--            E;J             [E            ]=M
[E   ]=  E)   printf("._");  for(;(A-=Z=!Z)  ||  (printf("\n|"
)    ,   A    =              39              ,C             --
)    ;   Z    ||    printf   (T   ))T[Z]=Z[A-(E   =A[J-Z])&&!C
&    A   ==             M[                                  A]
|6<<27<rand()||!C&!Z?J[M[E]=M[A]]=E,J[M[A]=A-Z]=A,"_.":" |"];}