term: break out 'flash' to a separate 'term' function

This commit is contained in:
Daniel Eklöf 2019-07-30 22:06:02 +02:00
parent 89f1b3ae73
commit e3dc184882
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 19 additions and 13 deletions

View file

@ -382,3 +382,4 @@ void term_mouse_motion(struct terminal *term, int button, int row, int col,
bool shift, bool alt, bool ctrl);
void term_set_window_title(struct terminal *term, const char *title);
void term_flash(struct terminal *term, unsigned duration_ms);