Huy Nguyen

Results 10 comments of Huy Nguyen

We can try to implement a listener for Esc in `DebuggerUI.dialog`. I don't know if this is possible and still looking into it

I'm inexperienced with this socket stuff but have you checked https://stackoverflow.com/questions/62847773/typeerror-utf-8-encode-argument-1-must-be-str-not-bytes ?

I updated it to calculate the path string automatically to fit on 1 line Currently, path will be updated if the user executes the next line of code by pressing...

This is because when in post-mortem `Debugger.stack` is empty. I can make it not crash by restoring `Debugger.bottom_frame` to `Debugger.stack` in post-mortem. However, at that point you can only inspect...

I am experimenting with this and at a glance it looks quite easy. The content of the top row is in this [caption](https://github.com/inducer/pudb/blob/b087d646cb532af1bc3396e4d133967eb49fee2a/pudb/debugger.py#L2641) variable. We can get the current filename...

I got it to display the full path to current source file. However, if the path is too long to be displayed in 1 row, it will wrap automatically, creating...

I just tried all the wrap options of `urwid.Text` and none looks promising. I think we can: - show only the filename - show as much of the full path...

> > none looks promising. > > Why? Can you explain? > > > show only the filename > > I think this with `ellipsis` clipping would be my preferred...

I updated the PR so that: if there is enough width: display the full path, else display the longest possible path. If the terminal size changes, PuDB will update the...

I don't think this functionality is `urwid_readline`'s job. What is a command? urwid_readline provides a `ReadlineEdit` widget where you can type text, that's it. In `ReadlineEdit`, if you press `Enter`,...