mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
osc: fix param calculation with more than one digit
This commit is contained in:
parent
b9bd637021
commit
b69282545c
1 changed files with 1 additions and 0 deletions
1
osc.c
1
osc.c
|
|
@ -27,6 +27,7 @@ osc_dispatch(struct terminal *term)
|
|||
return false;
|
||||
}
|
||||
|
||||
param *= 10;
|
||||
param += c - '0';
|
||||
}
|
||||
LOG_DBG("OCS: %.*s (param = %d)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue