Cursor keys not working when using sqlite3 from adb shell

后端 未结 5 1232
伪装坚强ぢ
伪装坚强ぢ 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条回答
  •  梦毁少年i
    2020-12-18 23:53

    A workaround would be to use a local version of SQLite with readline support.

    1. Copy a database file from your device to your local machine:
      adb pull

    2. Use your local version of SQLite to access the database file:
      sqlite3

    3. If you made changes you can transfer them to the device. Copy your local database file from your local machine to your device:
      sqlite3

提交回复
热议问题