diff options
| author | jixiuf <jixiuf@qq.com> | 2022-08-22 12:17:49 +0800 |
|---|---|---|
| committer | jixiuf <jixiuf@qq.com> | 2022-08-22 12:19:53 +0800 |
| commit | f65916b316aa17431221aa3885c0d67f2d1fc30d (patch) | |
| tree | 907cef83332839a81b46fc2ce2bdeaef1c06aa9d /vterm.el | |
| parent | 52ae56f0b2d40403938a226e4df95a0f433306cc (diff) | |
fix #622
Diffstat (limited to 'vterm.el')
| -rw-r--r-- | vterm.el | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1207,10 +1207,12 @@ looks like: ((\"m\" :shift ))" (when (listp ev-keys) (dolist (k ev-keys) (when-let ((key (key-description (vector k)))) + (when (and (not (symbolp event)) shift (not meta) (not ctrl)) + (setq key (upcase key))) (setq keys (append keys (list (list key shift meta ctrl)))))))) (when-let ((key (key-description (vector raw-key)))) - ;; (when (and (not (symbolp event)) shift (not meta) (not ctrl)) - ;; (setq key (upcase key))) ; is this needed? + (when (and (not (symbolp event)) shift (not meta) (not ctrl)) + (setq key (upcase key))) (setq keys (list (list key shift meta ctrl))))) keys)) |
