Implement `(- N)' frame position specifications on Haiku
authorPo Lu <luangruo@yahoo.com>
Mon, 17 Feb 2025 04:06:15 +0000 (12:06 +0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 18 Feb 2025 08:47:48 +0000 (09:47 +0100)
commit1c1e4e0158871698afa013c5e3e5e26fad4631e3
tree992e4b253e34c4e4e5c6a74a10dbe81892089905
parentf3dee3457c2df232b73e12045329d6f00504adcd
Implement `(- N)' frame position specifications on Haiku

* src/haikuterm.c (haiku_calc_absolute_position): New function.
(haiku_set_offset): Apply offsets configured by the said
function.

(cherry picked from commit a951dbcf162aaf06a134c597ca0ac59c479afc4b)
src/haikuterm.c