Commit 3379324
committed
Buffer and print also what follows the last newline
_print() saves in cli->buffer whatever follows the last newline, but
then just throws it away on the next call. Use cli->buffer by copying
it in front of the new input.1 parent 0acad90 commit 3379324
1 file changed
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1856 | 1856 | | |
1857 | 1857 | | |
1858 | 1858 | | |
1859 | | - | |
1860 | | - | |
1861 | | - | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
1862 | 1869 | | |
1863 | | - | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
1864 | 1876 | | |
1865 | 1877 | | |
1866 | 1878 | | |
| |||
1886 | 1898 | | |
1887 | 1899 | | |
1888 | 1900 | | |
1889 | | - | |
| 1901 | + | |
1890 | 1902 | | |
1891 | 1903 | | |
1892 | 1904 | | |
| |||
0 commit comments