Check for '[' after Esc sequence. Fixed the esc sequence
Fix the esc sequences in the demo. Testing with a real live output would be great.