BackBuffer returns the back buffer of the fake terminal.
()
| 107 | |
| 108 | // BackBuffer returns the back buffer of the fake terminal. |
| 109 | func (t *Terminal) BackBuffer() buffer.Buffer { |
| 110 | t.mu.Lock() |
| 111 | defer t.mu.Unlock() |
| 112 | |
| 113 | return t.buffer |
| 114 | } |
| 115 | |
| 116 | // String prints out the buffer into a string. |
| 117 | // This includes the cell runes only, cell options are ignored. |
no outgoing calls