roy
c77e1d014f
Move the ripoffline logic out of screen.c and into ripoffline.c.
...
Store ripped off lines in the SCREEN structure so we can repaint then
when the terminal is resized.
Fix mvwin(3) so it can move windows in the ripped off area.
2017-01-11 20:43:03 +00:00
roy
295b0bfab7
Remove setup already done in newterm and even set_term.
2017-01-11 17:15:27 +00:00
roy
518bfd5577
Kill stray refs to __virtscr and _cursesi_screen missed in prior commit.
2017-01-11 10:06:32 +00:00
roy
019139adbd
ripoffline requires wnoutrefresh to work before _cursesi_screen has been
...
set.
2017-01-11 09:54:54 +00:00
roy
98102593fe
Use the window's screen's terminal.
2017-01-10 23:49:20 +00:00
roy
cc74ade3a6
Fix resizing terms.
2017-01-10 23:28:45 +00:00
roy
e56dac4e35
Use the terminal of the SCREEN of the WINDOW rather than cur_term
...
for window attribute functions.
2017-01-10 21:56:50 +00:00
roy
545dbcc586
When doupdate is called, check for typeahead input after N lines changed
...
instead of aborting really early.
This allows some screen update when holding the page down key for example.
2017-01-10 10:33:49 +00:00
roy
25445577c0
Implement POSIX curses function ripoffline(3).
2017-01-10 10:13:24 +00:00
roy
5714904ce2
Test for __ISPASTEOL when moving the cursor and it hasn't moved.
...
Unset __ISPASTEOL when moving the cursor during refresh.
2017-01-10 09:32:01 +00:00
blymn
b3963fa60a
Checks for bottom right corner were reversed.
2017-01-09 21:17:29 +00:00
wiz
65fa8d4547
Use more markup, sort ENVIRONMENT.
2017-01-08 13:49:21 +00:00
wiz
6811b22279
Whitespace fix, bump date for previous.
2017-01-08 13:49:05 +00:00
roy
84fe414e1f
KNF
2017-01-06 14:25:41 +00:00
roy
9180469668
KNF
2017-01-06 14:06:00 +00:00
roy
50a63ac8d2
KNF.
...
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.
No functional changes.
2017-01-06 13:53:18 +00:00
roy
846cb8f380
u_int -> unsigned int, u_int32_t -> uint32_t.
2017-01-06 09:14:07 +00:00
roy
506f84ec9a
Implement ncurses is_pad(3).
...
Correct documentation about is_keypad(3).
2017-01-05 23:15:43 +00:00
roy
433b66d936
Whitespace
2017-01-05 21:42:04 +00:00
roy
4550c5287c
Implement is_term_resized and resize_term(3) ncurses extensions.
...
resizeterm(3) is now a wrapper for resize_term(3).
2017-01-05 21:25:17 +00:00
roy
47cc2fc353
Add the set_escdelay(3) and set_tabsize(3) ncurses extensions.
2017-01-05 20:31:37 +00:00
wiz
e4ec469a39
Fix typo.
2017-01-05 12:35:41 +00:00
wiz
3134e606a6
Whitespace.
2017-01-05 09:46:32 +00:00
wiz
6e0a1cbf88
Use Ev for environment variables.
2017-01-05 09:46:08 +00:00
roy
ffbd31d04d
White space police
2017-01-04 03:51:29 +00:00
roy
c293b9d8ca
Allow C++ to link with all curses parts.
2017-01-04 02:05:23 +00:00
roy
5a86062c02
Add missing man pages for wsyncup.3 and wcursyncup.3
2017-01-03 13:21:40 +00:00
roy
8cf8e1d614
Support 256 colour terms.
...
From: rofl0r <retnyg@gmx.net>
2017-01-03 12:42:06 +00:00
roy
330e363652
Now that we have the initialize_color capability,
...
init_color can be made to work.
From: rofl0r <retnyg@gmx.net>
2017-01-03 12:39:44 +00:00
roy
c247fb6646
Bump libcurses to 7.1 for prior additions.
2017-01-02 12:38:16 +00:00
roy
1369811d4e
Implement POSIX Curses functions immedok(3) and syncok(3).
2017-01-02 10:28:34 +00:00
roy
4da08ba387
Whitespace
2017-01-02 08:44:12 +00:00
roy
6de5f0d137
Implement ncurses extension has_key.
2017-01-01 03:06:06 +00:00
roy
a663bc11be
Implement POSIX Curses typeahead function.
2016-12-31 22:47:01 +00:00
roy
77943ff6ed
Implement POSIX curses use_env function.
2016-12-31 17:46:35 +00:00
roy
2ab1e31d80
Implement ncurses extensions is_leaveok and is_keypad.
...
The former allows the ncurses (and pdcurses) macros getsyx and setsyx
to be implemented, which is needed by a surprising number of applications.
The latter is needed for Python curses support so it doesn't have to dive
into ncurses window structure.
2016-12-31 13:50:16 +00:00
roy
1c3d328353
Add the POSIX filter() function to libcurses.
2016-12-30 22:38:38 +00:00
wiz
1e92e63851
Fix some prototypes.
2016-12-29 23:50:59 +00:00
christos
2b4d6aa5a1
fix placement of lint comment
2016-12-12 04:20:31 +00:00
blymn
4114d2610d
Improve debug information.
2016-12-11 21:25:22 +00:00
christos
6d100a1021
PR/51673: Carsten Kunze: curses: standend() does not turn off A_BOLD;
...
according the X/Open it needs to turn off all attributes.
2016-11-29 17:33:48 +00:00
christos
56b8322bcc
If we are inserting spaces to account for a tab, move the x position of the
...
cursor, otherwise this is a no-op (Carsten Kunze)
2016-11-28 18:25:26 +00:00
christos
50c795e166
don't coredump if we call endwin when initscr fails.
2016-11-24 14:49:08 +00:00
christos
59538e7ea4
It is expensive to open and close files for every printf, keep it around.
2016-10-23 21:20:56 +00:00
christos
8a48cf6610
remove bogus malloc casts
2016-10-22 21:55:06 +00:00
jdc
b120305be0
Clear the "forced" flag after updating a line, otherwise we'll always do
...
complete line redraws.
2016-01-10 08:11:06 +00:00
jdc
dfb25fd120
Remove extra new line in debugging output.
2016-01-09 19:05:13 +00:00
jdc
210cd3d8d9
Display force flag in debug print.
2016-01-07 07:37:08 +00:00
jdc
3c6f106b95
Add missing new line in debug print.
2016-01-07 07:36:35 +00:00
christos
600fe0a3fe
fix memory leaks (from Rin Okuyama)
2015-11-26 01:05:08 +00:00