D6168: readline: provide styled prompt to readline (issue6070)

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Mar 22 22:01:25 EDT 2019


yuja added a comment.


  >   Oh, right... I saw that and that was part of why I didn't mail earlier :D  I think this is just an "expected" difference in behavior,
  
  No. It provides metadata to command-server clients (e.g. GUI/editor frontend.)
  Basically we'll need:
  
    if usereadline:
        rawinput(labeled_prompt)
    else:
        write_prompt_as_before()
        fin.readline()
  
  In chg session, stdio is directly accessible from the server process. No
  command-server protocol is used after the connection is established.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6168

To: durin42, #hg-reviewers, jeffpc, yuja
Cc: martinvonz, jeffpc, spectral, mercurial-devel


More information about the Mercurial-devel mailing list