MayaFlux 0.3.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 65 of file Keys.cpp.

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