cursorOnFirstLine: true when ↑ should walk prompt history instead of moving the textarea's own cursor. cursorOnLastLine is the mirror for ↓.
()
| 1251 | // appends "(exit: N)" / "(timeout after ...)" on failure. A user Ctrl+C |
| 1252 | // ("(cancelled)") never counts as a failure. |
| 1253 | func toolResultFailed(name, result string) bool { |
| 1254 | if strings.Contains(result, "(cancelled)") { |
| 1255 | return false |
| 1256 | } |