[PR #471] [MERGED] Option to override cols/rows of the recorded process #1082

Closed
opened 2026-03-15 11:17:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/asciinema/asciinema/pull/471
Author: @ku1ik
Created: 2/16/2022
Status: Merged
Merged: 2/17/2022
Merged by: @ku1ik

Base: developHead: cols-rows-override


📝 Commits (1)

  • fd09df8 Option to override cols/rows of the recorded process

📊 Changes

8 files changed (+83 additions, -29 deletions)

View changed files

📝 README.md (+2 -0)
📝 asciinema/__main__.py (+20 -0)
📝 asciinema/commands/record.py (+4 -0)
📝 asciinema/pty_.py (+12 -12)
📝 asciinema/recorder.py (+37 -4)
📝 asciinema/term.py (+1 -12)
📝 man/asciinema.1.md (+6 -0)
📝 tests/pty_test.py (+1 -1)

📄 Description

This adds --cols <n> / --rows <n> options to rec command. This disables
autodection of terminal size, and reports fake fixed number of columns/rows to
the recorded process.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/asciinema/asciinema/pull/471 **Author:** [@ku1ik](https://github.com/ku1ik) **Created:** 2/16/2022 **Status:** ✅ Merged **Merged:** 2/17/2022 **Merged by:** [@ku1ik](https://github.com/ku1ik) **Base:** `develop` ← **Head:** `cols-rows-override` --- ### 📝 Commits (1) - [`fd09df8`](https://github.com/asciinema/asciinema/commit/fd09df89f62d4d786082d41b6ff2f36d4a346f5c) Option to override cols/rows of the recorded process ### 📊 Changes **8 files changed** (+83 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+2 -0) 📝 `asciinema/__main__.py` (+20 -0) 📝 `asciinema/commands/record.py` (+4 -0) 📝 `asciinema/pty_.py` (+12 -12) 📝 `asciinema/recorder.py` (+37 -4) 📝 `asciinema/term.py` (+1 -12) 📝 `man/asciinema.1.md` (+6 -0) 📝 `tests/pty_test.py` (+1 -1) </details> ### 📄 Description This adds `--cols <n>` / `--rows <n>` options to `rec` command. This disables autodection of terminal size, and reports fake fixed number of columns/rows to the recorded process. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 11:17:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#1082
No description provided.