mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
term: use 16-bit ints for cmd start/end columns
Reduces the size of struct row even further, from 27 bytes to 23 bytes.
This commit is contained in:
parent
deba63fcff
commit
117bb80dd0
1 changed files with 2 additions and 2 deletions
|
|
@ -159,8 +159,8 @@ struct row {
|
|||
struct row_data *extra;
|
||||
|
||||
struct {
|
||||
int cmd_start; /* Column, -1 if unset */
|
||||
int cmd_end; /* Column, -1 if unset */
|
||||
int16_t cmd_start; /* Column, -1 if unset */
|
||||
int16_t cmd_end; /* Column, -1 if unset */
|
||||
bool prompt_marker;
|
||||
} __attribute__((packed)) shell_integration;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue