diff --git a/0.76_My_PuTTY/terminal.c b/0.76_My_PuTTY/terminal.c index 74f359a..0ac86b3 100644 --- a/0.76_My_PuTTY/terminal.c +++ b/0.76_My_PuTTY/terminal.c @@ -1369,6 +1369,9 @@ static void power_on(Terminal *term, bool clear) term->savecurs.x = term->savecurs.y = 0; term->alt_savecurs.x = term->alt_savecurs.y = 0; term->alt_t = term->marg_t = 0; +#ifdef MOD_FAR2L + term->far2l_ext = 0; +#endif if (term->rows != -1) term->alt_b = term->marg_b = term->rows - 1; else diff --git a/0.76_My_PuTTY/version.h b/0.76_My_PuTTY/version.h index 4d8ddfd..a594e85 100644 --- a/0.76_My_PuTTY/version.h +++ b/0.76_My_PuTTY/version.h @@ -1,5 +1,5 @@ #define RELEASE 0.76 #define TEXTVER "Release 0.76" #define SSHVER "-Release-0.76" -#define BINARY_VERSION 0,76,0,11 +#define BINARY_VERSION 0,76,0,12 #define SOURCE_COMMIT "unavailable" diff --git a/0.76_My_PuTTY/windows/version_minor.txt b/0.76_My_PuTTY/windows/version_minor.txt index b4de394..48082f7 100644 --- a/0.76_My_PuTTY/windows/version_minor.txt +++ b/0.76_My_PuTTY/windows/version_minor.txt @@ -1 +1 @@ -11 +12 diff --git a/0.76_My_PuTTY/windows/window.c b/0.76_My_PuTTY/windows/window.c index 8013edd..dd29e2e 100644 --- a/0.76_My_PuTTY/windows/window.c +++ b/0.76_My_PuTTY/windows/window.c @@ -787,7 +787,10 @@ void RestartSession( void ) { win_seat_connection_fatal( &wgs.seat, "User request session restart..." ) ; SetTimer(wgs.term_hwnd, TIMER_RECONNECT, 10, NULL) ; } - + +#ifdef MOD_FAR2L + term->far2l_ext = 0; +#endif PostMessage(wgs.term_hwnd,WM_KEYDOWN,VK_RETURN ,0) ; PostMessage(wgs.term_hwnd,WM_KEYUP,VK_RETURN ,1) ; } diff --git a/docs/version.txt b/docs/version.txt index de697a6..e0b8537 100644 --- a/docs/version.txt +++ b/docs/version.txt @@ -1 +1 @@ -0.76.0.11 \ No newline at end of file +0.76.0.12 \ No newline at end of file diff --git a/kitty.c b/kitty.c index d423a38..a2306b2 100644 --- a/kitty.c +++ b/kitty.c @@ -5704,6 +5704,10 @@ void WriteCountUpAndPath( void ) ; // Initialisation spécifique a KiTTY void InitWinMain( void ) ; +// Initialisation des shortcuts +void InitShortcuts( void ) ; +int DefineShortcuts( char * buf ) ; + // Gestion de commandes a distance int ManageLocalCmd( HWND hwnd, const char * cmd ) ;