From 20171333aec0be59dc9f2f5b328bb0624576ae39 Mon Sep 17 00:00:00 2001 From: Kivi Kaitaniemi Date: Thu, 18 Dec 2025 04:59:34 +0200 Subject: [PATCH] Add missing flatpak plugin to entry points --- pyproject.toml | 1 + src/decman/core/command.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3f111fb..0f05857 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,6 +18,7 @@ decman = "decman.app:main" systemd = "decman.plugins.systemd:Systemd" pacman = "decman.plugins.pacman:Pacman" aur = "decman.plugins.aur:AUR" +flatpak = "decman.plugins.flatpak:Flatpak" [dependency-groups] dev = [ diff --git a/src/decman/core/command.py b/src/decman/core/command.py index 0d4c7d4..1ad1d8a 100644 --- a/src/decman/core/command.py +++ b/src/decman/core/command.py @@ -206,7 +206,7 @@ def _run_parent(master_fd: int, pid: int) -> tuple[int, str]: # Helper function to set PTY window size to the current terminal size def resize_pty(*args): try: - rows, cols = shutil.get_terminal_size() + cols, rows = shutil.get_terminal_size() winsz = struct.pack("HHHH", rows, cols, 0, 0) fcntl.ioctl(master_fd, termios.TIOCSWINSZ, winsz) except OSError: