### Triage
+- [ ] factor our list-sort code.
+- [X] when cx-b and default doc name is v.long, shift gets confused
- [ ] How to run shell command in "44" window??
- [X] In c-mode, if ) is at end of line then highlighting it causes the
line to wrap
else
shift_left = 0;
+ mwidth = 0;
+ update_line_height_attr(p, focus, &line_height, &ascent, &mwidth,
+ "", "M", scale);
+ rd->curs_width = mwidth;
+
if (prefix) {
const char *s = prefix + strlen(prefix);
update_line_height_attr(p, focus, &line_height, &ascent, NULL,
buf_init(&attr);
buf_append(&attr, ',');
- rd->curs_width = 0;
-
/* If findxy was requested, ci->x and ci->y tells us
* what to look for, and we return index into line where this
* co-ordinate was reached.
curs_width = pane_attr_get_int(
start->mdata, "curs_width", 1);
- if (curs_width < 0)
+ if (curs_width <= 0)
curs_width = 1;
while (!rl->do_wrap && !rl->shift_locked &&
hp->cx + curs_width >= p->w) {