mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-24 01:40:12 -05:00
term: move row->prompt_marker into new struct, row->shell_integration
This commit is contained in:
parent
0f10c4fd6c
commit
f8e875a7cd
5 changed files with 12 additions and 11 deletions
4
input.c
4
input.c
|
|
@ -377,7 +377,7 @@ execute_binding(struct seat *seat, struct terminal *term,
|
|||
const struct row *row = grid->rows[r_abs];
|
||||
xassert(row != NULL);
|
||||
|
||||
if (!row->prompt_marker)
|
||||
if (!row->shell_integration.prompt_marker)
|
||||
continue;
|
||||
|
||||
grid->view = r_abs;
|
||||
|
|
@ -409,7 +409,7 @@ execute_binding(struct seat *seat, struct terminal *term,
|
|||
const struct row *row = grid->rows[r_abs];
|
||||
xassert(row != NULL);
|
||||
|
||||
if (!row->prompt_marker) {
|
||||
if (!row->shell_integration.prompt_marker) {
|
||||
if (r_abs == grid->offset + term->rows - 1) {
|
||||
/* We’ve reached the bottom of the scrollback */
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue