Added ctrlchar support