Commit edf8d6b
authored
Fix iogate.getc input byte order shuffled bug (#891)
When iogate.cursor_pos is called while handling signal inside iogate.getc, getc return bytes in wrong order.
We need to always check `@buf` after `Reline.core.line_editor.handle_signal` is called.1 parent 4167623 commit edf8d6b
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
0 commit comments