shithub: orca

Download patch

ref: 5197116051c4799f77e6fe22d9da3a56b16c3ba2
parent: acbda0f5d4a5f3357037e44a2d1da8688d7c1735
author: cancel <cancel@cancel.fm>
date: Fri Jan 3 20:38:15 EST 2020

Add setting of selection rect from internal paste

--- a/tui_main.c
+++ b/tui_main.c
@@ -1772,6 +1772,8 @@
     gbuffer_copy_subrect(cb_field->buffer, a->field.buffer, cbfield_h,
                          cbfield_w, field_h, field_w, 0, 0, curs_y, curs_x,
                          cpy_h, cpy_w);
+    a->ged_cursor.h = cpy_h;
+    a->ged_cursor.w = cpy_w;
     a->needs_remarking = true;
     a->is_draw_dirty = true;
   } break;