Commit Graph

408 Commits

Author SHA1 Message Date
Margers
89af29c27f No mouse up events for mouse wheel. 2025-02-17 10:39:33 +00:00
Margers
beb8e63075 Correct mouse button mapping under Unix 2025-01-10 21:25:38 +00:00
Margers
4e96751cb7 Screen width more than 255 chars (for Unixes at least) 2025-01-10 21:16:29 +00:00
Margers
f0257e8424 RawReadString is limited to length of shortstring, don't read more than that 2024-11-11 11:50:36 +00:00
Karoly Balogh
5acf85a932 rtl-console/amicommon: added a way to redefine colors externally in the video unit 2024-11-01 17:37:07 +01:00
Margers
aeb17a48fc Additional function key escape sequences for rxvt (urxvt) 2024-10-09 19:45:36 +00:00
Margers
8b1824ab34 Go32v2 and msdos mouse is zero based. Fixed GetMouseX, GetMouseY and SetMouseXY. 2024-10-09 18:46:19 +00:00
Margers
8fd249807e In console enable mouse buttons browse back/forward (xterm Unix) 2024-10-09 18:45:42 +00:00
Margers
bda49f7219 Silent key apostrophe. Fixed problem for Windows Textmode IDE in Linux under Wine. 2024-10-09 18:45:02 +00:00
Margers
2141465c58 make file gitlab web interface friendly 2024-10-09 18:45:02 +00:00
Margers
a0fe88b60f Console keyboard shift states in Unix 2024-10-09 18:43:35 +00:00
Margers
9073615dea Multi byte mouse report format for rxvt (Unix) 2024-10-09 18:42:08 +00:00
Margers
ede78f682b Windows console mouse - scroll up and down events 2024-09-24 16:31:17 +00:00
Margers
ca03194927 Enable mouse in pterm (putty) 2024-09-16 17:37:12 +00:00
Margers
69e7ffadba Implementation of Kitty keys and xterm - ModifyOtherKeys (Unix keyboard) 2024-09-16 17:36:02 +00:00
Margers
d1e239f3c4 Branch to save Enhanced video buffer or Legacy video buffer (Unix). 2024-09-11 06:50:49 +00:00
Margers
ae81a69cb1 Block insert cursor. Block cursor for overwrite mode in xterm 2024-09-02 08:03:56 +00:00
Michaël Van Canneyt
6df876e546 * Dotted filenames for package rtl-console 2023-07-27 19:04:14 +02:00
Michael VAN CANNEYT
bd4e9676fa * Add namespaces.lst 2023-07-27 19:04:09 +02:00
Michaël Van Canneyt
2289c1f6a2 * Remove redundant Makefile.fpc 2023-07-25 13:01:55 +02:00
Michaël Van Canneyt
bb1b1bc705 * Regenerate makefiles with subtarget support 2023-07-24 16:32:02 +02:00
Michaël Van Canneyt
6b5a4dbf6e * use cthreads in correct location 2023-07-19 14:27:28 +02:00
Michaël Van Canneyt
a8a778395b * PChar -> PAnsiChar 2023-07-15 18:22:37 +02:00
Dmytro Bogatskyy
327aac7f24 Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00
Jinyang He
783bbb66f9 Update Makefiles 2023-02-05 19:18:48 +00:00
Pierre Muller
ea68c97f50 Remove convert.inc from fpmake include list as it was removed in commit 15ff16d852 2022-12-28 13:44:15 +00:00
florian
1853e94b98 * attempt to fix #39900 2022-11-12 22:08:21 +01:00
Nikolay Nikolov
8c562995d7 * regenerate makefiles with latest fpcmake 2022-05-24 14:01:59 +03:00
Nikolay Nikolov
95ba16228a + use some ASCII replacements for certain non-ASCII characters (used by Free
Vision) on Unix consoles that don't support UTF-8
2022-05-01 10:34:47 +03:00
Nikolay Nikolov
f67c4b1c45 + use the DEC special graphics character set to draw some non-ASCII characters
on Unix consoles that don't support UTF-8 (or don't have it enabled)
2022-05-01 10:22:56 +03:00
Ramon M
f227efb258 Enabled mouse support for macOS and *BSD. Free Vision apps can now make use of the mouse for these O/Ss. 2022-04-30 12:04:18 +02:00
Nikolay Nikolov
f49675c4fe * convert advanced video attributes to legacy attributes (emulating bold, italic,
etc. using colors). Also, the blink attribute is converted correctly now.
2022-03-17 20:57:26 +02:00
Nikolay Nikolov
89726bbb98 + added second screen to the video4 test, which demonstrates all the attributes (without combining them) 2022-03-17 19:49:51 +02:00
Nikolay Nikolov
921a72566f + implemented enhanced video attributes in the Unix video unit
+ added test for the enhanced video attributes
2022-03-17 19:43:50 +02:00
Nikolay Nikolov
5121e2c259 + introduced TEnhancedVideoCell.EnhancedVideoAttributes, based on ECMA-48 and xterm 2022-03-17 18:57:37 +02:00
Nikolay Nikolov
0d9298f01a * changed the video unit initialization sequence, so that the startup cursor
position is preserved at exit (or when switching to the user screen in the
  IDE), when running in xterm or compatible (gnome-terminal, konsole, etc.)
2022-03-16 08:28:29 +02:00
Nikolay Nikolov
28732fffa2 * fixed the 256-color support for konsole 2022-03-16 08:15:39 +02:00
Nikolay Nikolov
3564d5e34a + added 256 color support to the Unix console video unit 2022-03-16 08:10:10 +02:00
Nikolay Nikolov
3eae0213be * copy operator of TEnhancedVideoCell now copies the 8-bit foreground and background colors 2022-03-16 08:08:24 +02:00
Nikolay Nikolov
61623c43ca * use separate variables for tracking the foreground and background colors 2022-03-16 07:45:55 +02:00
Nikolay Nikolov
e79fbff154 * attr2ansi changed to accept separate foreground and background color
parameters, instead of single attribute bytes. No functional changes.
2022-03-16 07:34:40 +02:00
Nikolay Nikolov
aee5a58000 - delete disabled code 2022-03-16 07:24:14 +02:00
Nikolay Nikolov
ac9feac2c8 - removed spaces at end of line 2022-03-16 07:23:33 +02:00
Nikolay Nikolov
25a681295a + added properties TEnhancedVideoCell.ForegroundColor and .BackgroundColor,
which can store up to 256 colors
2022-03-16 07:00:17 +02:00
Nikolay Nikolov
6345a25304 + support shift+pgup, shift+pgdn, ctrl+shift+pgup and ctrl+shift+pgdn in the
unix keyboard unit
2022-03-13 08:07:29 +02:00
Nikolay Nikolov
501b2d6c6f + get the current code page in the msdos keyboard unit as well 2022-03-13 00:34:50 +02:00
Nikolay Nikolov
c881067b23 + get the current DOS code page in the go32v2 keyboard unit, so enhanced key
events Unicode characters are returned correctly (provided that the cpall and
  fpwidestring unit are included as well)
2022-03-13 00:26:55 +02:00
Nikolay Nikolov
e1e939c844 + support 83/84-key keyboards in the go32v2 keyboard unit 2022-03-13 00:18:11 +02:00
Nikolay Nikolov
91ccf4e9c6 + introduced the CurrentLegacy2EnhancedKeyEventTranslationCodePage private
variable in the keyboard unit. It is used for translating AsciiChar to
  UnicodeChar in non-enhanced (i.e. non-unicode) consoles. It can be initialized
  in SysInitKeyboard in non-unicode consoles, so they can return unicode
  characters as well.
2022-03-12 23:56:20 +02:00
Nikolay Nikolov
4ed7bd9f66 * fixed bug, where left and right shift were swapped in the i386-go32v2
keyboard unit as well.
2022-03-12 19:17:40 +02:00