HUE-1314 [shell] Prompt line is not wide enough

Introduced input auto-resize to available space