core: fully evaluate commands bound to keys in cursor and mouse contexts