Fix console edit.

Signed-off-by: Zlatozar Zhelyazkov <zlatozar@gmail.com>