Commit fe855a7
committed
Fix inputrc for rxvt usage.
When using rxvt the backspace key deletes the whole line because for
rxvt and the bash prompt the backspace key produces different input.
This patch ammends the handling of backspace/control-backspace for rxvt
so that it only deletes one char at a time. Normal bash prompt input
is left as before.
Reported-by: Jon Seymour <[email protected]>
Signed-off-by: Pat Thoyts <[email protected]>1 parent 568e9a4 commit fe855a7
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments