]> git.neil.brown.name Git - edlib.git/commit
lib-menu: prohibit left-shift of display.
authorNeilBrown <neil@brown.name>
Tue, 18 Jul 2023 10:55:12 +0000 (20:55 +1000)
committerNeilBrown <neil@brown.name>
Tue, 18 Jul 2023 11:51:36 +0000 (21:51 +1000)
commit61ca10f68827afe7222c1ffafc217fad55bf1426
treefe1bda8b5f6e42c25bc3ab3b14d15d981197317d
parent13607580c7a4887f820b216bff09718d132b3183
lib-menu: prohibit left-shift of display.

As the menu window is sized to match the longest line, there is a risk
of a left-shift happening if the cursor ever ends up at the end of that
line.
That would be bad, so explicitly disable left-shift.

Signed-off-by: NeilBrown <neil@brown.name>
lib-menu.c