692 Commits

Author SHA1 Message Date
何亚红
0ef70bd790
Merge branch 'wmcbrine:master' into HYH 2025-03-22 00:10:32 +08:00
William McBrine
c5412c2e98 Excess spacing; update MANUAL.md 2025-02-18 23:15:48 -05:00
William McBrine
d75af9836e Table markdown for "Portability" sections 2025-02-18 22:37:31 -05:00
William McBrine
b3d2969864 Align table 2025-02-18 18:57:26 -05:00
William McBrine
759008e149 Markdown block indentation 2025-02-18 17:40:19 -05:00
William McBrine
678d3f9637 Markdown tables 2025-02-18 17:35:15 -05:00
7da8a32902
Merge remote-tracking branch 'origin/master' into HYH 2024-10-22 10:15:12 +08:00
William McBrine
5c62af03e9
After Bill Gray: "touchoverlap() un-touches parts of lines (Issue #149)" 2023-07-12 12:45:59 -04:00
William McBrine
de6c548ec5
Redundant dereferences. 2023-07-12 12:40:27 -04:00
William McBrine
601c9373ef "subwin() made the subwindow one row/line too small when fed nlines=0
or ncols=0.", by B.G.
2023-06-26 01:44:33 -04:00
William McBrine
201799a9ee "Fix text selection memory corruption with long codepoints", by
juliusikkala.
2023-06-26 01:12:45 -04:00
William McBrine
7d8cfb459a Unused now 2023-06-26 00:57:28 -04:00
William McBrine
bbd943ea9a Fix for _override() in panel, after B.G. 2023-06-25 22:21:09 -04:00
02bd72e0d8
添加部分CMakeLists.txt 2023-05-28 21:57:45 +08:00
William McBrine
436e3da700 Doc fixes 2023-05-27 05:22:44 -04:00
William McBrine
c4fa20c4e3
Merge pull request #106 from uhlin/master
Curses window properties
2023-05-27 04:57:41 -04:00
William McBrine
c612ba1192
Merge pull request #127 from GiorgosXou/master
FIXED: pads with panels
2023-05-26 16:56:47 -04:00
Markus Uhlin
b3276a8873 Added wgetparent() 2022-11-17 01:13:51 +01:00
Markus Uhlin
d086665eb5 Added wgetscrreg() 2022-11-16 23:24:48 +01:00
Markus Uhlin
318f68ca26 Moved timeout() 2022-11-16 22:14:37 +01:00
Markus Uhlin
fdf7ba37c2 Moved typeahead() 2022-11-16 22:12:06 +01:00
Markus Uhlin
6cab50eaad Added wgetdelay() 2022-11-16 21:50:37 +01:00
Markus Uhlin
2308a1cbee Added is_notimeout() and is_subwin() 2022-11-16 20:22:40 +01:00
Ray Chason
41707e0202 Fix wgetnstr with PDC_WIDE
Casting an array of wchar_t to wint_t * works as intended only if
wchar_t and wint_t have the same size. If they don't, wgetnstr will
not work. Cast the elements to wchar_t instead.
2022-09-27 22:58:37 -04:00
William McBrine
c9367727b0 Redundant distribution stati 2022-01-14 16:15:31 -05:00
GiorgosXou
934bc40ed9 FIXED: pads with panels 2021-11-21 08:49:45 +02:00
William McBrine
2e15c90f12 Fix for #122 by Bill Gray, reported by GiorgosXou 2021-10-19 20:40:07 -04:00
William McBrine
2f31a22d66 Extra spaces 2021-10-17 20:11:05 -04:00
GiorgosXou
b5b0a0d596
Update pad.c 2021-10-17 09:31:17 +03:00
GiorgosXou
af431757dc
Update pad.c 2021-10-17 09:27:39 +03:00
GiorgosXou
6db050244c
Fixed: access violation reading
int sline = sy1; int pline = py;
2021-10-16 11:26:06 +03:00
William McBrine
ffb83fab0f ncurses extensions: alloc_pair(), find_pair(), free_pair(). To Do: test;
related extensions.
2021-07-07 10:15:32 -04:00
Markus Uhlin
dc0449b1ae Added is_idcok() and is_idlok() 2020-12-15 00:05:02 +01:00
Markus Uhlin
50774dd21f Updated "Return Value" 2020-12-12 22:22:50 +01:00
Markus Uhlin
ea1cc3e1aa Added function is_scrollok() 2020-12-12 22:15:34 +01:00
Markus Uhlin
5cee291f92 Added function is_immedok() 2020-12-12 22:03:05 +01:00
Markus Uhlin
0561ac239b Added function is_cleared() 2020-12-12 21:48:12 +01:00
Markus Uhlin
e6a9c21d9b Added function is_nodelay() 2020-12-12 21:30:15 +01:00
Markus Uhlin
d856e325ab Added function is_syncok() 2020-12-12 21:08:56 +01:00
William McBrine
a493e5e22c I think the key name table is better outside of keyname() -- there's a
very slight reduction in the library size.
2019-09-20 00:01:22 -04:00
William McBrine
9f2c806e65 Dynamically allocate atrtab. 2019-09-19 04:07:07 -04:00
William McBrine
d727feea46 Dynamically allocate the keyboard buffer; consolidate magic numbers. 2019-09-17 16:46:39 -04:00
William McBrine
c40e9e5cf8 Use the direct function name here. 2019-09-17 15:51:10 -04:00
William McBrine
e6d46d21e7 Dynamically allocate the ungetch buffer, and resize it to accomodate the
full size of a PDC_getclipboard() paste.
2019-09-17 14:33:59 -04:00
William McBrine
f294596357 Redundant code; on resize, move the cursor just enough to keep it
onscreen, instead of resetting it.
2019-09-15 08:22:01 -04:00
William McBrine
2048b6b93e Removed meaningless argc/argv passing for non-X11 ports; made initscr()
the core routine and Xinitscr() the wrapper, as it should be.
2019-09-15 02:01:15 -04:00
William McBrine
b12c4a5212 In winsnstr() and wins_nwstr(), positive n values were treated as
minimums eather than maximums. Broken since 3.0. Reported by Ulf
Magnusson. GitHub issue #72.
2019-09-14 15:16:29 -04:00
William McBrine
dcc68db1fd To match the change in PDC_scr_open(), free SP in delscreen() rather
than PDC_scr_free().
2019-09-11 10:02:57 -04:00
William McBrine
492b402134 More common code now. 2019-09-10 19:14:58 -04:00
William McBrine
6503aa9277 The screen should really update on doupdate(), not just on idle.
Tentative fix for x11. Reported by Mark Hessling.
2019-09-10 10:06:24 -04:00