Cursor keys not working when using sqlite3 from adb shell

后端 未结 5 1237
伪装坚强ぢ
伪装坚强ぢ 2020-12-18 23:22

When using sqlite3 through adb shell arrow keys, instead of moving the cursor to the desired position or summoning the history facility, the following is showed

5条回答
  •  佛祖请我去吃肉
    2020-12-19 00:02

    To allow editing and history in the input of a console program, that program must be linked with the readline library.

    The sqlite3 tool does support readline, but on Android, readline support has been disabled. (Probably because readline is licensed only under the GPL.)

提交回复
热议问题