dbcli / mycli

A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.

Home Page:http://mycli.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

optimize the default cli option `--prompt` with splitline for long prompt

hzc989 opened this issue · comments

Background

a default prompt (\\t \\u@\\h:\\d> ) is already defined inside MyCli class. however it does not work properly when the total length exceeds 45 characters.

how to optimize it

simply define another default prompt with splitline

I made a PR which closes this issue