mirror of
https://github.com/tmux/tmux.git
synced 2026-04-16 12:06:32 +00:00
Merge branch 'obsd-master'
This commit is contained in:
16
tmux.h
16
tmux.h
@@ -947,6 +947,20 @@ enum screen_cursor_style {
|
||||
SCREEN_CURSOR_BAR
|
||||
};
|
||||
|
||||
|
||||
/* Progress bar, OSC 9;4. */
|
||||
enum progress_bar_state {
|
||||
PROGRESS_BAR_HIDDEN = 0,
|
||||
PROGRESS_BAR_NORMAL = 1,
|
||||
PROGRESS_BAR_ERROR = 2,
|
||||
PROGRESS_BAR_INDETERMINATE = 3,
|
||||
PROGRESS_BAR_PAUSED = 4
|
||||
};
|
||||
struct progress_bar {
|
||||
enum progress_bar_state state;
|
||||
int progress;
|
||||
};
|
||||
|
||||
/* Virtual screen. */
|
||||
struct screen_sel;
|
||||
struct screen_titles;
|
||||
@@ -988,6 +1002,7 @@ struct screen {
|
||||
struct screen_write_cline *write_list;
|
||||
|
||||
struct hyperlinks *hyperlinks;
|
||||
struct progress_bar progress_bar;
|
||||
};
|
||||
|
||||
/* Screen write context. */
|
||||
@@ -3282,6 +3297,7 @@ int screen_set_title(struct screen *, const char *);
|
||||
void screen_set_path(struct screen *, const char *);
|
||||
void screen_push_title(struct screen *);
|
||||
void screen_pop_title(struct screen *);
|
||||
void screen_set_progress_bar(struct screen *, enum progress_bar_state, int);
|
||||
void screen_resize(struct screen *, u_int, u_int, int);
|
||||
void screen_resize_cursor(struct screen *, u_int, u_int, int, int, int);
|
||||
void screen_set_selection(struct screen *, u_int, u_int, u_int, u_int,
|
||||
|
||||
Reference in New Issue
Block a user