display.c (most-5.1.0) | : | display.c (most-5.2.0) | ||
---|---|---|---|---|
/* | /* | |||
This file is part of MOST. | This file is part of MOST. | |||
Copyright (c) 1991, 1999, 2002, 2005-2018, 2019 John E. Davis | Copyright (c) 1991, 1999, 2002, 2005-2021, 2022 John E. Davis | |||
This program is free software; you can redistribute it and/or modify it | This program is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by the Free | under the terms of the GNU General Public License as published by the Free | |||
Software Foundation; either version 2 of the License, or (at your option) | Software Foundation; either version 2 of the License, or (at your option) | |||
any later version. | any later version. | |||
This program is distributed in the hope that it will be useful, but WITHOUT | This program is distributed in the hope that it will be useful, but WITHOUT | |||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |||
more details. | more details. | |||
You should have received a copy of the GNU General Public License along | You should have received a copy of the GNU General Public License along | |||
with this program; if not, write to the Free Software Foundation, Inc., 675 | with this program; if not, write to the Free Software Foundation, Inc., 675 | |||
Mass Ave, Cambridge, MA 02139, USA. | Mass Ave, Cambridge, MA 02139, USA. | |||
*/ | */ | |||
#include <stdio.h> | #include <stdio.h> | |||
#include <slang.h> | #include <slang.h> | |||
#include "jdmacros.h" | #include "jdmacros.h" | |||
#include "display.h" | #include "display.h" | |||
#include "color.h" | ||||
void most_narrow_width(void) | void most_narrow_width(void) | |||
{ | { | |||
SLsmg_refresh (); | SLsmg_refresh (); | |||
SLtt_write_string ("\033[?3l"); | SLtt_write_string ("\033[?3l"); | |||
} | } | |||
void most_wide_width(void) | void most_wide_width(void) | |||
{ | { | |||
SLsmg_refresh (); | SLsmg_refresh (); | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added |