* registrar: group by hostname or group env var in registrar
* registrar: should cleanup invalid windows
* tide: gap buffer does not handle UTF-8 currently
-* tide: search should not warp pointer when nothing found
## BACKLOG
rune = ' ';
if (buf_insel(&(view->buffer), row->cols[i].off))
draw_rect(x, sel, posx, y, row->cols[i].width, fheight);
- if (row->cols[i].off == view->buffer.selection.end) {
+ if (row->cols[i].off == view->buffer.selection.end)
csr_drawn = draw_csr(x, view, fg, fheight, posx, y, csr_drawn);
- if (csrsync) {
- XWarpPointer(x->display, None, x->self, 0, 0, x->width, x->height, posx-4, y + fheight/2);
- csrsync = false;
- }
+ if (csrsync && row->cols[i].off == view->buffer.selection.beg) {
+ XWarpPointer(x->display, None, x->self, 0, 0, x->width, x->height, posx + row->cols[i].width/2, y + fheight*3/4);
+ csrsync = false;
}
specs = realloc(specs, sizeof(XftGlyphSpec) * ++nspecs);
specs[nspecs-1].glyph = XftCharIndex(x->display, font, rune);
str = strdup(SearchTerm);
else
str = view_getctx(win_view(FOCUSED));
- view_findstr(win_view(EDIT), SearchDir, str);
+ SyncMouse = view_findstr(win_view(EDIT), SearchDir, str);
free(SearchTerm);
SearchTerm = str;
- SyncMouse = true;
}
static void execute(char* arg) {