Using Up/Down arrow key to navigate prompt history in input textarea. Source code: https://github.com/yaozhiwang/prompt-hist