ignore trailing . in protocol

pull/6/head
dvkt 5 years ago
parent 36f1c58d8d
commit 25cf11f86b

@ -93,6 +93,9 @@ impl View for TextView {
.take(rows - 1);
for line in iter {
if line == ".\r" {
continue;
}
out.push_str(&indent);
out.push_str(line);
out.push('\n');

Loading…
Cancel
Save