mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
using conf.expr_number for prompt
This commit is contained in:
parent
c3d27d9f31
commit
8fd91ec8f2
1 changed files with 2 additions and 2 deletions
|
@ -85,11 +85,11 @@ class Pry
|
|||
NAV_PROMPT = [
|
||||
proc do |conf|
|
||||
tree = conf.binding_stack.map { |b| Pry.view_clip(b.eval("self")) }.join " / "
|
||||
"[#{conf.input_array.size}] (pry) #{tree}: #{conf.nesting_level}> "
|
||||
"[#{conf.expr_number}] (pry) #{tree}: #{conf.nesting_level}> "
|
||||
end,
|
||||
proc do |conf|
|
||||
tree = conf.binding_stack.map { |b| Pry.view_clip(b.eval("self")) }.join " / "
|
||||
"[#{conf.input_array.size}] (pry) #{tree}: #{conf.nesting_level}* "
|
||||
"[#{conf.expr_number}] (pry) #{tree}: #{conf.nesting_level}* "
|
||||
end,
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue