- auto resize command line box
* fix a session expire error.
+ add basic logic