• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

penguinolog / urwid / 42594713343
94%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2026 09:37AM UTC
Jobs 17
Files 81
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Nov 2026 09:33AM UTC coverage: 93.537% (+0.02%) from 93.518%
42594713343

push

github

web-flow
WebSocket display: mouse input and adjustable size limits (#1608)

* WebSocket display: mouse input and adjustable size limits

Mouse input was missing from the WebSocket display added in 5.1.0.

- The page reports press, release, drag and wheel on the screen as urwid mouse events.
- Screen.feed() checks the mouse message, moves its position inside the screen,
  and drops it while mouse tracking is off.
- A queued drag of the same button is replaced and wheel steps beyond MAX_PENDING_INPUT
  are dropped, so fast mouse input does not end the session.
- Input is handed over in batches ending at each window resize, at the size it arrived at.
- Screen() and html_page() take max_cols and max_rows. The page fits its screen area to them,
  so clicks beyond the screen are not reported.
- The default limit is 223 x 223, the X10 mouse limit, instead of 200 x 100.
- websocket_tornado.py gains --max-cols and --max-rows.

* websocket_tornado example: user name login and temporary token

- The login needs the user name from --user (default urwid) as well as the token.
- Without --token-file, a new token lives in a private temporary directory removed on exit.
- The addresses and the login are printed at start, the password only for the temporary token.
- SIGHUP stops the server like SIGINT and SIGTERM, so the temporary token is removed.

* input_test: rewrite as a script, add a local WebSocket display

- PEP 723 metadata, nothing run on import, argument parsing in parse_args().
- One runner each for the terminal, CGI and a local WebSocket display.
- --display websocket, offered when Tornado is installed, serves the test on 127.0.0.1:8080
  with a login whose token lives in a temporary directory removed on exit.
- Q asks for confirmation before exiting.

* websocket_tornado example: exit cleanly on Ctrl+C and on a busy port

- Where asyncio has no signal handlers, such as Windows, Ctrl+C cancels serve();
  it now closes every session on the way out and the script exi... (continued)

6807 of 7464 branches covered (91.2%)

Branch coverage included in aggregate %.

69 of 74 new or added lines in 1 file covered. (93.24%)

92 existing lines in 4 files now uncovered.

17536 of 18561 relevant lines covered (94.48%)

14.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
94.89
-0.11% urwid/display/websocket.py

Coverage Regressions

Lines Coverage ∆ File
67
65.16
1.65% urwid/display/web.py
13
97.03
0.04% urwid/widget/scrollable.py
7
94.65
-0.04% urwid/widget/wimp.py
5
98.84
0.04% urwid/widget/table.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.14t-windows-latest - 42594713343.1 09 Nov 2026 09:50AM UTC 81
81.57
GitHub Action Run
2 run-pypy3.11-windows-latest - 42594713343.2 09 Nov 2026 09:50AM UTC 81
81.46
GitHub Action Run
3 run-3.15-windows-latest - 42594713343.3 09 Nov 2026 09:48AM UTC 81
81.57
GitHub Action Run
4 run-3.12-ubuntu-latest - 42594713343.4 09 Nov 2026 09:37AM UTC 81
92.24
GitHub Action Run
5 run-pypy3.11-ubuntu-latest - 42594713343.5 09 Nov 2026 09:42AM UTC 81
91.22
GitHub Action Run
6 run-3.12-windows-latest - 42594713343.6 09 Nov 2026 09:44AM UTC 81
82.08
GitHub Action Run
7 run-3.14-windows-latest - 42594713343.7 09 Nov 2026 09:43AM UTC 81
82.11
GitHub Action Run
8 run-3.15-ubuntu-latest - 42594713343.8 09 Nov 2026 09:37AM UTC 81
92.25
GitHub Action Run
9 run-3.13-windows-latest - 42594713343.9 09 Nov 2026 09:45AM UTC 81
82.1
GitHub Action Run
10 run-3.13-ubuntu-latest - 42594713343.10 09 Nov 2026 09:38AM UTC 81
92.24
GitHub Action Run
11 run-3.11-windows-latest - 42594713343.11 09 Nov 2026 09:44AM UTC 81
82.13
GitHub Action Run
12 run-3.14t-ubuntu-latest - 42594713343.12 09 Nov 2026 09:38AM UTC 81
91.63
GitHub Action Run
13 run-3.15t-ubuntu-latest - 42594713343.13 09 Nov 2026 09:38AM UTC 81
91.63
GitHub Action Run
14 run-3.13t-ubuntu-latest - 42594713343.14 09 Nov 2026 09:43AM UTC 81
91.63
GitHub Action Run
15 run-3.15t-windows-latest - 42594713343.15 09 Nov 2026 09:44AM UTC 81
81.57
GitHub Action Run
16 run-3.11-ubuntu-latest - 42594713343.16 09 Nov 2026 09:38AM UTC 81
92.27
GitHub Action Run
17 run-3.14-ubuntu-latest - 42594713343.17 09 Nov 2026 09:37AM UTC 81
92.25
GitHub Action Run
Source Files on build 42594713343
  • Tree
  • List 81
  • Changed 9
  • Source Changed 7
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42594713343
  • 23521f00 on github
  • Prev Build on master (#42221274414)
  • Next Build on master (#42598768176)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc