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 | local id | 76 | local id |
| 77 | 77 | ||
| 78 | local histories = {} | 78 | local histories = {} |
| 79 | local history | 79 | local history = {} |
| 80 | local history_pos = 1 | 80 | local history_pos = 1 |
| 81 | local searching_history = false | 81 | local searching_history = false |
| 82 | local history_paths = {} | 82 | local history_paths = {} |