Skip to content

Commit

Permalink
fix chinese character cannot be deleted properly (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZingLix authored Jan 10, 2024
1 parent 32a89b3 commit cfc19bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/qianfan/common/client/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# The readline library needs to be imported first to
# ensure that Chinese input works properly in the client.
import readline # noqa
from typing import Optional

import typer
Expand Down

0 comments on commit cfc19bd

Please sign in to comment.