X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Freset_cmd.h;h=91a637c7e7b3a603f09a98c368a6cc97f4c67953;hp=f5426eb8d04b1539f58923c7812cba65ca42f9fa;hb=HEAD;hpb=62ca6190a9a8ddccb2c4d5ca7b2ef9f88432da65 diff --git a/progs/reset_cmd.h b/progs/reset_cmd.h index f5426eb8..43aee28f 100644 --- a/progs/reset_cmd.h +++ b/progs/reset_cmd.h @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2016 Free Software Foundation, Inc. * + * Copyright 2020-2021,2024 Thomas E. Dickey * + * Copyright 2016 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -31,7 +32,7 @@ ****************************************************************************/ /* - * $Id: reset_cmd.h,v 1.7 2016/12/24 18:08:48 tom Exp $ + * $Id: reset_cmd.h,v 1.11 2024/04/08 17:29:34 tom Exp $ * * Utility functions for resetting terminal. */ @@ -50,12 +51,12 @@ extern bool send_init_strings(int /* fd */, TTY * /* old_settings */); extern void print_tty_chars(TTY * /* old_settings */, TTY * /* new_settings */); extern void reset_flush(void); extern void reset_start(FILE * /* fp */, bool /* is_reset */, bool /* is_init */ ); -extern void reset_tty_settings(int /* fd */, TTY * /* tty_settings */); +extern void reset_tty_settings(int /* fd */, TTY * /* tty_settings */, int /* noset */); extern void set_control_chars(TTY * /* tty_settings */, int /* erase */, int /* intr */, int /* kill */); extern void set_conversions(TTY * /* tty_settings */); #if HAVE_SIZECHANGE -extern void set_window_size(int /* fd */, short * /* high */, short * /* wide */); +extern void set_window_size(int /* fd */, NCURSES_INT2 * /* high */, NCURSES_INT2 * /* wide */); #endif extern const char *_nc_progname;