complete the core develop of commandline window

1. polished the tsh api for call;
2. commandline window can execute command normally "cd" is work OK;

NOT work
1. can't recogisze '\r' just append next line;
2. can't distinwish color;