fix ctrl+enter note send

use argument e instead of event