Reset XTerm mouse modes on suspend/exit.
This commit is contained in:
@@ -51,7 +51,10 @@ std::string Display::open() const
|
|||||||
|
|
||||||
std::string Display::close() const
|
std::string Display::close() const
|
||||||
{
|
{
|
||||||
return std::string( "\033[?1l\033[0m\033[?25h" ) + std::string( rmcup ? rmcup : "" );
|
return std::string( "\033[?1l\033[0m\033[?25h"
|
||||||
|
"\033[?1003l\033[?1002l\033[?1001l\033[?1000l"
|
||||||
|
"\033[?1015l\033[?1006l\033[?1005l" ) +
|
||||||
|
std::string( rmcup ? rmcup : "" );
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string Display::new_frame( bool initialized, const Framebuffer &last, const Framebuffer &f ) const
|
std::string Display::new_frame( bool initialized, const Framebuffer &last, const Framebuffer &f ) const
|
||||||
|
|||||||
Reference in New Issue
Block a user