remove termsize

Signed-off-by: Mattias Andrée <maandree@operamail.com>
partially working remake of the editor

Signed-off-by: Mattias Andrée <maandree@operamail.com>