rocky / zshdb

gdb-like "trepan" debugger for zsh
GNU General Public License v3.0
291 stars 23 forks source link

Fix issue #24: use correct tty for prompt/commands #25

Closed bitwranglr closed 4 years ago

bitwranglr commented 4 years ago

Using the handy -t <tty> option for vared. Confirmed that $_Dbg_tty is always set, i.e. both when zshdb is invoked with the -tty option and when it is not.

rocky commented 4 years ago

Ok - thanks. Will look at in a litle while when I have a chance.

rocky commented 4 years ago

Just tried it out and it seems to work.

Adding a test would be nice to make sure there are no regressions in the future