disableRawMode method
Disables raw mode and restores the terminal’s original attributes.
Implementation
@override
void disableRawMode() {
if (_origTermIOSPointer == nullptr) return;
_tcsetattr(_fd, _TCSANOW, _origTermIOSPointer);
calloc.free(_origTermIOSPointer);
_origTermIOSPointer = nullptr;
}