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: