summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-02-03 17:48:37 +0000
committerRichard Jones <rjones@redhat.com>2010-02-19 14:58:16 +0000
commite3be2251693b305daa566dce5a23aba61a699afc (patch)
tree3536929192e73d4d7259d9f4af0b693ea8aa34dc /python
parent6727622780d60baa2c50850c4e9ba8ad8b84dfa0 (diff)
hivexsh: Change handling of prompt argument to rl_gets()
Make the result of isatty into a global variable (is_tty). Change the rl_gets() function so it takes the prompt string instead of a "display prompt?" flag. rl_gets() then consults the global to find out if it should display the prompt at all.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions