forked from urwid/urwid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Typing: annotate text_layout and extend
Text
/Edit
* `Canvas`: do not accept any arguments in the constructor. Arguments deprecated many years ago, renamed error was raise before. * `StandardTextLayout`: split `calculate_text_segments` scenario for `clip` and `ellipsis` from `any` and `space`. Extremely long methods with 2 main branches. Use human-friendly variable naming. * `Text`/`Edit`: In several methods intentionally do not mark bytes as valid argument: Due to the amount of transcoding, `str` is absolute priority
- Loading branch information
Aleksei Stepanov
committed
Feb 7, 2024
1 parent
8d81c27
commit e98b253
Showing
4 changed files
with
221 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.