This is an archive of the discontinued LLVM Phabricator instance.

Force full gui redraw on Ctrl+L
ClosedPublic

Authored by llunak on Jul 30 2020, 12:35 PM.

Details

Summary

As is common with curses apps, this allows to redraw everything in case something corrupts the screen. Apparently key modifiers are difficult with curses (curses FAQ it "doesn't do that"), thankfully Ctrl+key are simply control characters, so it's (ascii & 037) => 12.

Diff Detail

Event Timeline

llunak created this revision.Jul 30 2020, 12:35 PM
llunak requested review of this revision.Jul 30 2020, 12:35 PM
clayborg accepted this revision.Jul 30 2020, 12:37 PM
This revision is now accepted and ready to land.Jul 30 2020, 12:37 PM
This revision was automatically updated to reflect the committed changes.