clear keyboard buffer before prompt (bnc #649248)
authorJán Kupec <jkupec@suse.cz>
Fri, 29 Oct 2010 13:08:15 +0000 (15:08 +0200)
committerJán Kupec <jkupec@suse.cz>
Fri, 29 Oct 2010 13:08:15 +0000 (15:08 +0200)
commit8cb41e7c57f04744e215e9d631b52146eeae81c5
tree12f462fd24501879bf4c3f8ce77ed9958667638b
parent96b2981c1a8960a25b01d8c18232f3a3c719bf86
clear keyboard buffer before prompt (bnc #649248)

- console.h added
- readline_get_line & get_screen_width moved to console.h
- some cleanup
12 files changed:
src/CMakeLists.txt
src/Table.cc
src/callbacks/keyring.h
src/callbacks/media.cc
src/output/OutNormal.cc
src/solve-commit.cc
src/utils/console.cc [new file with mode: 0644]
src/utils/console.h [new file with mode: 0644]
src/utils/misc.cc
src/utils/misc.h
src/utils/prompt.cc
src/utils/prompt.h