MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ is_printable()

MAYAFLUX_API bool MayaFlux::IO::is_printable ( Keys  key)
noexcept

Checks if a key is a printable character.

Parameters
keyThe key to check.
Returns
True if the key is printable, false otherwise.

Definition at line 64 of file Keys.cpp.

65{
66 int k = static_cast<int>(key);
67 return k >= 32 && k <= 126; // Standard printable ASCII range
68}