support osc 52 clipboard copy integration.
This feature is particularly relevant for mosh for chrome (which also used in windows I believe).
This commit is contained in:
@@ -365,6 +365,7 @@ namespace Terminal {
|
||||
rows_type rows;
|
||||
title_type icon_name;
|
||||
title_type window_title;
|
||||
title_type clipboard;
|
||||
unsigned int bell_count;
|
||||
bool title_initialized; /* true if the window title has been set via an OSC */
|
||||
|
||||
@@ -437,8 +438,10 @@ namespace Terminal {
|
||||
bool is_title_initialized( void ) const { return title_initialized; }
|
||||
void set_icon_name( const title_type &s ) { icon_name = s; }
|
||||
void set_window_title( const title_type &s ) { window_title = s; }
|
||||
void set_clipboard( const title_type &s ) { clipboard = s; }
|
||||
const title_type & get_icon_name( void ) const { return icon_name; }
|
||||
const title_type & get_window_title( void ) const { return window_title; }
|
||||
const title_type & get_clipboard( void ) const { return clipboard; }
|
||||
|
||||
void prefix_window_title( const title_type &s );
|
||||
|
||||
@@ -452,7 +455,7 @@ namespace Terminal {
|
||||
|
||||
bool operator==( const Framebuffer &x ) const
|
||||
{
|
||||
return ( rows == x.rows ) && ( window_title == x.window_title ) && ( bell_count == x.bell_count ) && ( ds == x.ds );
|
||||
return ( rows == x.rows ) && ( window_title == x.window_title ) && ( clipboard == x.clipboard ) && ( bell_count == x.bell_count ) && ( ds == x.ds );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user