2011-05-31 16:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/src/rtl/gttrm/gttrm.c
    * enable resizing if PuTTY is autodetected regardles of [HB_]TERM setting
This commit is contained in:
Przemyslaw Czerpak
2011-05-31 14:04:09 +00:00
parent a3660695ba
commit d514537840
2 changed files with 8 additions and 5 deletions

View File

@@ -16,6 +16,10 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-05-31 16:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gttrm/gttrm.c
* enable resizing if PuTTY is autodetected regardles of [HB_]TERM setting
2011-05-31 15:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gttrm/gttrm.c
* gives higher priority for PuTTY terminal autodetection then for

View File

@@ -2103,13 +2103,12 @@ static int hb_gt_trm_AnsiGetAcsc( PHB_GTTRM pTerm, unsigned char c )
return c | HB_GTTRM_ATTR_ALT;
}
static HB_BOOL hb_gt_trm_AnsiSetMode( PHB_GTTRM pTerm, int * piRow, int * piCol )
static HB_BOOL hb_gt_trm_AnsiSetMode( PHB_GTTRM pTerm, int * piRows, int * piCols )
{
HB_TRACE(HB_TR_DEBUG, ("hb_gt_trm_AnsiSetMode(%p,%d,%d)", pTerm, *piRow, *piCol));
HB_TRACE(HB_TR_DEBUG, ("hb_gt_trm_AnsiSetMode(%p,%d,%d)", pTerm, *piRows, *piCols));
HB_SYMBOL_UNUSED( pTerm );
HB_SYMBOL_UNUSED( piRow );
HB_SYMBOL_UNUSED( piCol );
if( pTerm->terminal_ext & TERM_PUTTY )
return hb_gt_trm_XtermSetMode( pTerm, piRows, piCols );
return HB_FALSE;
}