Poderosa.Terminal.XTerm.ClearScreen()

Here are the examples of the csharp api class Poderosa.Terminal.XTerm.ClearScreen() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

Project: poderosa
Source File: XTerm.cs
View license
private void RestoreScreen(int sw) {
            if (_savedScreen[sw] == null) {
                ClearScreen();	// emulate new buffer
                return;
            }
            TerminalDocument doc = GetDocument();
            int w = doc.TerminalWidth;
            int m = doc.TerminalHeight;
            GLine t = doc.TopLine;
            foreach (GLine l in _savedScreen[sw]) {
                l.ExpandBuffer(w);
                if (t == null)
                    doc.AddLine(l);
                else {
                    doc.Replace(t, l);
                    t = l.NextLine;
                }
                if (--m == 0)
                    break;
            }
        }

2. Example

Project: poderosa
Source File: XTerm.cs
View license
protected override ProcessCharResult ProcessDECSET(string param, char code) {
            ProcessCha/n ..... /n //View Source file for more details /n }