terminal: fix terminal attribute overflow

fixes #11548
This commit is contained in:
erw7
2020-07-28 00:51:41 +09:00
parent 33eaa171fa
commit b6b270b28f
4 changed files with 16 additions and 3 deletions

View File

@@ -32,6 +32,9 @@ EXTERN ScreenGrid default_grid INIT(= SCREEN_GRID_INIT);
#define DEFAULT_GRID_HANDLE 1 // handle for the default_grid
// Maximum columns for terminal highlight attributes
#define TERM_ATTRS_MAX 1024
/// Status line click definition
typedef struct {
enum {