mirror of https://github.com/macssh/macssh.git
cleanup
This commit is contained in:
parent
dd4b979ade
commit
9a0fa8577c
|
@ -2045,12 +2045,7 @@ void VTsendstat( void )
|
|||
|
||||
void VTsendident( void )
|
||||
{
|
||||
short sn = findbyVS(VSIwn);
|
||||
|
||||
if ( sn < 0 )
|
||||
return;
|
||||
|
||||
if (screens[sn].vtemulation)
|
||||
if (VSIw->vtemulation)
|
||||
//RSsendstring(VSIwn, "\033[?62;1;6c", 10); // VT200-series
|
||||
RSsendstring(VSIwn, "\033[?62;1;2;6;7;8c", 16); // VT200-series
|
||||
else
|
||||
|
|
|
@ -953,7 +953,7 @@ void SaveSet(short doSaveMacros, short dontSaveTitle)
|
|||
|
||||
if (doSaveMacros) {
|
||||
// save all macros
|
||||
for (i = 0; i < 110; i++) {
|
||||
for (i = 0; i < NUM_MACROS; i++) {
|
||||
getmacro(&TelInfo->newMacros, i, temp, sizeof(temp));
|
||||
if (*temp) {
|
||||
sprintf(temp2, "%d %s", i, temp);
|
||||
|
@ -1127,7 +1127,7 @@ void SaveSetFromSession(SessionPrefs* setSession, TerminalPrefs* setTerminal, sh
|
|||
|
||||
if (doSaveMacros) {
|
||||
// save all macros
|
||||
for (i = 0; i < 110; i++) {
|
||||
for (i = 0; i < NUM_MACROS; i++) {
|
||||
getmacro(&TelInfo->newMacros, i, temp, sizeof(temp));
|
||||
if (*temp) {
|
||||
sprintf(temp2, "%d %s", i, temp);
|
||||
|
|
|
@ -1864,8 +1864,8 @@ void HandleMenuCommand( long mResult, short modifiers)
|
|||
switchintranslation(&screens[scrn], theItem-1, 0);
|
||||
switchouttranslation(&screens[scrn], theItem-1, 0);
|
||||
// and redraw the screen
|
||||
VSredraw(screens[scrn].vs,0,0,VSmaxwidth(screens[scrn].vs),VSgetlines(screens[scrn].vs)-1); /* LU */
|
||||
screens[scrn].outnational = theItem-1;
|
||||
//VSredraw(screens[scrn].vs,0,0,VSmaxwidth(screens[scrn].vs),VSgetlines(screens[scrn].vs)-1); /* LU */
|
||||
//screens[scrn].outnational = theItem-1;
|
||||
}
|
||||
break;
|
||||
case keyMenu:
|
||||
|
|
Loading…
Reference in New Issue