Codepage messages related translated & other stuff...
[midnight-commander.git] / src / xcurses.c
blob7971f0c011f1c76a5196c4ddf44421cb26497918
1 /* Glue code to run with bsd curses.
2 Copyright (C) 1994 Miguel de Icaza
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 #include <config.h>
21 #include "tty.h"
23 int has_colors (void)
25 return 0;
28 int init_pair (int pair, int fore, int back)
30 return 0;
33 int start_color ()
35 return 0;
38 #ifndef USE_SUNOS_CURSES
39 void hline (int character, int len)
41 int i, x, y;
43 getyx (stdscr, y, x);
44 while (len--)
45 addch (character);
46 move(y, x);
49 void vline (int character, int len)
51 int i, x, y;
53 getyx (stdscr, y, x);
54 while (len--)
55 mvaddch (y++, x, character);
57 #endif