private void terminalText_PreviewKeyDown(object sender, KeyEventArgs e) { try { if (!e.Key.Equals(Key.Return)) { e.Handled = true; konekin.tulis(e.Key.ToString().ToLower()); } } catch (Exception) { } }