mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 16:05:52 +03:00
[PR #423] [MERGED] Use os.get_terminal_size() #1061
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#1061
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/asciinema/asciinema/pull/423
Author: @arp242
Created: 12/6/2020
Status: ✅ Merged
Merged: 10/2/2021
Merged by: @ku1ik
Base:
develop← Head:termsize📝 Commits (1)
949e57eUse os.get_terminal_size()📊 Changes
1 file changed (+7 additions, -5 deletions)
View changed files
📝
asciinema/term.py(+7 -5)📄 Description
tput is part of ncurses, which may not be installed.
It still falls back to tput for older Python versions (this was
introduced in 3.3) or for platforms which may not support it.
Fixes #418
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.