NAME
TUI::Drivers - Driver abstraction layer for the TUI::Vision framework
SYNOPSIS
use TUI::Drivers;
# Access common driver symbols from one import.
my $cols = TScreen->getCols();
my $rows = TScreen->getRows();
my $ticks = THardwareInfo->getTickCount();
my $ctrl_q = getCtrlCode('Q');
if ( TMouse->present() ) {
TMouse->show();
}
DESCRIPTION
TUI::Drivers is the driver-layer collector for TUI::Vision.
Using use TUI::Drivers; imports the common driver symbols from the individual driver modules into the caller package. This includes constants, hardware/display access, event structures and queues, mouse support, and driver utility functions.
The module itself does not implement driver logic; it provides a convenient single import point for the underlying driver components.
It re-exports symbols from the following components:
Const Symbolic constants for driver and hardware behavior.
HardwareInfo Platform-dependent hardware backend access via the
THardwareInfosymbol.Display / Screen Low-level display and global screen mode/state management.
SystemError Driver-level Ctrl-Break/system handler coordination.
Event / EventQueue Keyboard, mouse, and system event handling.
Mouse Public mouse driver interface.
Util Driver utility functions for key-code conversions and related helpers.
AUTHORS
- Borland International (original Turbo Vision design)
- J. Schneider <brickpool@cpan.org> (Perl implementation and maintenance)
CONTRIBUTORS
Contributors are documented in the POD of the respective framework modules.
COPYRIGHT AND LICENSE
Copyright (c) 1990-1994, 1997 by Borland International
Copyright (c) 2021-2026 the "AUTHORS" as listed above.
This software is licensed under the MIT license (see the LICENSE file, which is part of the distribution).