mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
fix(screen): make display_tick monotonic up to 2^64. fixes #16152
18446744073709551616 screen redraws should be enough for everyone.
This commit is contained in:
parent
3ba800f153
commit
9e88c9c12f
@ -99,7 +99,7 @@ typedef struct {
|
||||
typedef struct window_S win_T;
|
||||
typedef struct wininfo_S wininfo_T;
|
||||
typedef struct frame_S frame_T;
|
||||
typedef uint16_t disptick_T; // display tick type
|
||||
typedef uint64_t disptick_T; // display tick type
|
||||
|
||||
// for struct memline (it needs memfile_T)
|
||||
#include "nvim/memline_defs.h"
|
||||
@ -576,8 +576,8 @@ struct file_buffer {
|
||||
long b_mod_xlines; // number of extra buffer lines inserted;
|
||||
// negative when lines were deleted
|
||||
wininfo_T *b_wininfo; // list of last used info for each window
|
||||
int b_mod_tick_syn; // last display tick syntax was updated
|
||||
int b_mod_tick_decor; // last display tick decoration providers
|
||||
disptick_T b_mod_tick_syn; // last display tick syntax was updated
|
||||
disptick_T b_mod_tick_decor; // last display tick decoration providers
|
||||
// where invoked
|
||||
|
||||
long b_mtime; // last change time of original file
|
||||
|
Loading…
Reference in New Issue
Block a user