mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Commented out the code causing infinite loop when viewing
test/backspaces.txt.
This commit is contained in:
parent
4263af97a9
commit
8b4daed148
@ -349,11 +349,12 @@ add_document_line(struct plain_renderer *renderer,
|
|||||||
*template = saved_renderer_template;
|
*template = saved_renderer_template;
|
||||||
|
|
||||||
} else if (line_char == ASCII_BS) {
|
} else if (line_char == ASCII_BS) {
|
||||||
|
#if 0
|
||||||
if (!(expanded + cells)) {
|
if (!(expanded + cells)) {
|
||||||
/* We've backspaced to the start of the line */
|
/* We've backspaced to the start of the line */
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if (pos > startpos)
|
if (pos > startpos)
|
||||||
pos--; /* Backspace */
|
pos--; /* Backspace */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user