Mercurial > vim
view runtime/macros/maze/maze.c @ 29142:74974ecddc8a v8.2.5091
patch 8.2.5091: terminal test fails with some shell commands
Commit: https://github.com/vim/vim/commit/e564c7009dfb065fb5261e548b15f83d32f735c9
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 14 15:00:28 2022 +0100
patch 8.2.5091: terminal test fails with some shell commands
Problem: Terminal test fails with some shell commands.
Solution: Disable setting the window title. (closes https://github.com/vim/vim/issues/10530)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 14 Jun 2022 16:15:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
char*M,A,Z,E=40,J[40],T[40];main(C){for(*J=A=scanf(M="%d",&C); -- E; J[ E] =T [E ]= E) printf("._"); for(;(A-=Z=!Z) || (printf("\n|" ) , A = 39 ,C -- ) ; Z || printf (M ))M[Z]=Z[A-(E =A[J-Z])&&!C & A == T[ A] |6<<27<rand()||!C&!Z?J[T[E]=T[A]]=E,J[T[A]=A-Z]=A,"_.":" |"];}