Commit 43220db
committed
Fix Meta key combinations not forwarded to terminal
M-f, M-b, M-d etc. were intercepted by Emacs global bindings
(forward-word, backward-word, kill-word) instead of being sent to the
terminal. Two fixes: bind M-<letter> keys in ghostel-mode-map via
ghostel--send-event, and add ESC+char fallback in
ghostel--raw-key-sequence for when the native encoder doesn't produce
output.
Fix #481 parent cd3031d commit 43220db
2 files changed
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
624 | 630 | | |
625 | 631 | | |
626 | 632 | | |
| |||
749 | 755 | | |
750 | 756 | | |
751 | 757 | | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
752 | 763 | | |
753 | 764 | | |
754 | 765 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1430 | 1430 | | |
1431 | 1431 | | |
1432 | 1432 | | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
1433 | 1446 | | |
1434 | 1447 | | |
1435 | 1448 | | |
| |||
1458 | 1471 | | |
1459 | 1472 | | |
1460 | 1473 | | |
1461 | | - | |
| 1474 | + | |
| 1475 | + | |
1462 | 1476 | | |
1463 | 1477 | | |
1464 | 1478 | | |
| |||
0 commit comments