Pressing ctrl+c in select mode crashes if console wasn't opened in free-form text mode before. This also makes the type of the history variable clear. Fixes a6024b562a.
Unified · Split
| @@ -76,7 +76,7 @@ local prompt · 75 unmodified lines | ||
| 76 | 76 | local id |
| 77 | 77 | |
| 78 | 78 | local histories = {} |
| 79 | −local history | |
| 79 | +local history = {} | |
| 80 | 80 | local history_pos = 1 |
| 81 | 81 | local searching_history = false |
| 82 | 82 | local history_paths = {} |