Records the console changes needed to incrementally update the editor, without going through a full refresh, assuming a `file_pos` position.
(mut self, file_pos: FilePos, cursor: CharsXY)
| 635 | /// Records the console changes needed to incrementally update the editor, without going |
| 636 | /// through a full refresh, assuming a `file_pos` position. |
| 637 | fn quick_refresh(mut self, file_pos: FilePos, cursor: CharsXY) -> Self { |
| 638 | self.output.push(CapturedOut::HideCursor); |
| 639 | self = self.refresh_status(file_pos); |
| 640 | self.output.push(CapturedOut::SetColor(TEXT_COLOR.0, TEXT_COLOR.1)); |
| 641 | self.output.push(CapturedOut::Locate(cursor)); |
| 642 | self.output.push(CapturedOut::ShowCursor); |
| 643 | self.output.push(CapturedOut::SyncNow); |
| 644 | self |
| 645 | } |
| 646 | |
| 647 | /// Records the console changes needed to refresh only the current line and the status bar. |
| 648 | fn refresh_line(mut self, file_pos: FilePos, line: &str, cursor: CharsXY) -> Self { |