mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-15 05:33:58 -04:00
grid: grid_reflow() now translates cursor coordinates
This commit is contained in:
parent
89559d5466
commit
5546b40369
3 changed files with 54 additions and 42 deletions
2
grid.h
2
grid.h
|
|
@ -6,7 +6,7 @@
|
|||
void grid_swap_row(struct grid *grid, int row_a, int row_b, bool initialize);
|
||||
struct row *grid_row_alloc(int cols, bool initialize);
|
||||
void grid_row_free(struct row *row);
|
||||
int grid_reflow(
|
||||
void grid_reflow(
|
||||
struct grid *grid, int new_rows, int new_cols,
|
||||
int old_screen_rows, int new_screen_rows);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue