Mercurial > vim
view runtime/tools/blink.c @ 32879:49e4d7aa402c v9.0.1748
patch 9.0.1748: CI: cannot label issues automatically
Commit: https://github.com/vim/vim/commit/6d192a4ac9ba600ec28eb86d2cc45dea67f5922b
Author: Philip H <47042125+pheiduck@users.noreply.github.com>
Date: Sat Aug 19 14:30:47 2023 +0200
patch 9.0.1748: CI: cannot label issues automatically
Problem: CI: cannot label issues automatically
Solution: Create CI labeler
closes: #12788
Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 19 Aug 2023 15:00:05 +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; }