refactor: put cmdchar in Settings