Refactor battle input managers handling of text input

move responsibility to battle manager