()
| 170 | } |
| 171 | |
| 172 | function isCursorAtInputEnd() { |
| 173 | const { cursorPos, displayPos } = getPreviewPos(); |
| 174 | return cursorPos.rows === displayPos.rows && |
| 175 | cursorPos.cols === displayPos.cols; |
| 176 | } |
| 177 | |
| 178 | const clearPreview = (key) => { |
| 179 | if (inputPreview !== null) { |
no test coverage detected
searching dependent graphs…