## STAGING
+* Ctrl+D should not pass tag name as arg when executing tag commands
* registrar doesnt match open windows when new file created and is then opened for edit or line number
* implement a mini-sed command to standardize scripts across platforms without relying on sed
* registrar should remove invalid windows from registry when detected
void view_resize(View* view, size_t width, size_t nrows) {
if (view->width == width && view->nvisible == nrows)
return;
- size_t off = (view->rows ? view->rows[view->index]->off : 0);
+ size_t off = (view->nrows && view->index < view->nrows ? view->rows[view->index]->off : 0);
resize(view, width, nrows, off);
}