Linefeed not accepted as newline
Đang mở
- Ngôn ngữ chính
- C
- Star
- 4.4k
- Fork
- 741
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
If I run the example, I can paste CR or CR+LF lines:
~~~
$ ./linenoise_example
hello> expr 5 + 2
echo: 'expr 5 + 2'
hello> expr 5 - 2
echo: 'expr 5 - 2'
~~~
but if I try to paste LF lines, I get unexpected result:
~~~
$ ./linenoise_example
hello> expr 5 + 2
hello> expr 5 + 2
hello> expr 5 + 2
hello> expr 5 + 2
hello> expr 5 + 2
hello> expr 5 + 2
hello> expr 5 + 2
hello> expr 5 + 2
hello> expr 5 + 2
hello> expr 5 + 2
hello> expr 5 + 2
hello> expr 5 + 2
expr 5 - 2
echo: 'expr 5 + 2
expr 5 - 2'
~~~
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.