diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-07 18:22:53 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-07 18:22:53 +0200 |
commit | b73598e2f022a22fec512ea681c70d2775e8fd87 (patch) | |
tree | c233c50104f05d5e4830d56f7f04ce7d6f1e2fad /src/structs.h | |
parent | e4a76ad0e74a31bbd9f1b1ac5b816d714d19a412 (diff) | |
download | vim-b73598e2f022a22fec512ea681c70d2775e8fd87.zip |
patch 7.4.2180
Problem: There is no easy way to stop all timers. There is no way to
temporary pause a timer.
Solution: Add timer_stopall() and timer_pause().
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index 6cfbb3c25..b56282fc2 100644 --- a/src/structs.h +++ b/src/structs.h @@ -3159,6 +3159,7 @@ struct timer_S timer_T *tr_next; timer_T *tr_prev; proftime_T tr_due; /* when the callback is to be invoked */ + int tr_paused; /* when TRUE callback is not invoked */ int tr_repeat; /* number of times to repeat, -1 forever */ long tr_interval; /* msec */ char_u *tr_callback; /* allocated */ |