FIX: issue #584 ([ char is not escaped inside string input in console)