gchp / rustbox

Rust implementation of the termbox library
MIT License
469 stars 48 forks source link

Revert "Make InputMode a bitflags type" #31

Closed panicbit closed 9 years ago

panicbit commented 9 years ago

This reverts commit 5ec96ae12c94a122ef7c170722f265e00aa26aa2.

Using bitflags is not required

panicbit commented 9 years ago

The use of InputMode::Mouse currently still suffers from #32, but the API is correct this way.

panicbit commented 9 years ago

Comments on nsf/termbox#55 seem to suggest that we might want to have InputMode::EscMouse and InputMode::AltMouse instead of InputMode::Mouse (so do not merge yet).