Skip to content

Commit

Permalink
fix chinese character cannot be deleted properly
Browse files Browse the repository at this point in the history
  • Loading branch information
ZingLix committed Jan 9, 2024
1 parent c80d536 commit 0e040ef
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 0e040ef

Please sign in to comment.