IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
lists
For now, you do it by selecting the list you want to grow/shrink and
pressing [ to grow and ] to shrink, but this can easily be changed.
This uses proportional growing/shrinking, just like the vertical -/+
does, i.e., [ multiplies the weight by 1.25 and ] divides the weight by
1.25. This perhaps should be changed, as it feels a little awkward,
though the "weight" part of it is hard-coded into urwin, and changing
that would not be easy. On the other hand, this isn't too hard to get
used to, and it's pretty easy to get the sizes you want.
All sizes are saved in the configuration file and reloaded in future
uses. So technically, a picky user could set any weight he wants to
suit his needs.
The problem was that the change didn't propagate to the global dict as I
thought it would. So instead, we use the get_state() of the checkbox
(which is backwards by the way). ui.setup_palette() doesn't seem to be
necessary in this case, so I left it out. Anyway, it will still be
called when the dialog is closed.
The keyboard shortcuts u/d seem backwards with the current order. On
the other hand, it seems like the current stack frame should be on top
to some. Therefore, we make this an option. See
https://github.com/inducer/pudb/pull/4.
Right now, the line numbers setting doesn't work correctly, and I don't
know enough about urwid/pudb internals to figure out why. Any help here
would be much appreciated.
Also, it would probably be a good idea to factor out the saving to file
so that it only happens when the dialog is closed.
The black on gray was very difficult to see, at least in my Terminal.
If you want, I can use a different color, or if you insist on having
black, I can add this only to the midnight theme.
According to the urwid docs, AttrWrap is deprecated, and AttrMap should
be used instead. This seems to still work the same everywhere, though I
didn't check it extensively.
And update the midnight theme to use them.
So far, String.Single and String.Double do not work, but I think this is
a bug in pygments (see
https://bitbucket.org/birkenfeld/pygments-main/issue/685). So hopefully
they fill fix it and it will start working :)
This also includes a snazzy function to convert the list of themes into
a line broken list, so you don't have to update it with future themes.
I didn't add too much info on custom themes. The documentation for this
needs to be updated elsewhere, i.e., in the example theme file.
There seems to be a little bug in pudb.pm(). pm() calls port_mortem()
with a traceback object as its argument, where post_mortem() expects a
full exception info tuple.