Mercurial > vim
view runtime/tools/blink.c @ 32284:8a7a4c1f41e0 v9.0.1473
patch 9.0.1473: CI does not run sound tests
Commit: https://github.com/vim/vim/commit/017227079f104bd69483ee3d33e31490d7e52135
Author: ichizok <gclient.gaap@gmail.com>
Date: Fri Apr 21 17:46:57 2023 +0100
patch 9.0.1473: CI does not run sound tests
Problem: CI does not run sound tests.
Solution: Re-enable sound tests. Use "apt-get" instead of "apt". (Ozaki
Kiichi, closes #12280)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 21 Apr 2023 19:00:04 +0200 |
parents | 64035abb986b |
children |
line wrap: on
line source
/* * An extremely simple program to make the cursor blink in an xterm. * This is useful when the cursor is hard to spot in a highlighted file. * Start in the background: "blink&" Stop by killing it. * Bram Moolenaar 980109 (based on an idea from John Lange). */ #include <stdio.h> #include <unistd.h> int main(void) { while (1) { printf("\e[?25h"); fflush(stdout); usleep(400000); /* on time */ printf("\e[?25l"); fflush(stdout); usleep(250000); /* off time */ } return 0; }