[core] Add keys and length commands
[shell] Fix home key breaking console