Skip to content

Commit

Permalink
Fix the backspace key not working on the bzadmin Curses menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
blast007 committed Feb 27, 2021
1 parent b7ba1bb commit f29aa93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bzadmin/CursesMenu.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ bool BZDBCMItem::handleKey(int c, std::string& str, CursesMenu&)
case KEY_BACKSPACE:
case KEY_DC:
case 127:
case 8:
editString = (editString.size() > 0 ?
editString.substr(0, editString.size() - 1) : editString);
break;
Expand Down

0 comments on commit f29aa93

Please sign in to comment.