This is an archive of the discontinued Mercurial Phabricator instance.

crecord: fix if -> elif when handling key presses
ClosedPublic

Authored by spectral on Jul 8 2019, 4:28 PM.

Details

Summary

This shouldn't actually change any behavior, I only noticed it since I started
using KEY_UP in tests, and it was complaining when it got down to the ^L
handler that initscr hadn't been called yet.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

spectral created this revision.Jul 8 2019, 4:28 PM
pulkit accepted this revision.Jul 8 2019, 5:36 PM
This revision is now accepted and ready to land.Jul 8 2019, 5:36 PM
This revision was automatically updated to reflect the committed changes.