View of xos/usr/lib/readline/terminal.h


XOS | Parent Directory | View | Download

/* Copyright (C) 2008  Emmanuel Varoquaux
 
   This file is part of XOS.
 
   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 Software Foundation, either version 3 of the License, or
   (at your option) any later version.
 
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
 
   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 
#ifndef TERMINAL_H
#define TERMINAL_H
 
extern char cursor_home_seq[];
char *cursor_up_seq(int n);
char *cursor_down_seq(int n);
char *cursor_forward_seq(int n);
char *cursor_backward_seq(int n);
extern char erase_end_of_line_seq[];
extern char erase_screen_seq[];
 
extern int screenwidth;
extern int screenheight;
 
void get_term_info();
 
void ring_bell();
 
#endif