mirror of
https://github.com/kiviktnm/decman.git
synced 2026-09-19 12:08:28 +00:00
Add missing flatpak plugin to entry points
This commit is contained in:
@@ -18,6 +18,7 @@ decman = "decman.app:main"
|
|||||||
systemd = "decman.plugins.systemd:Systemd"
|
systemd = "decman.plugins.systemd:Systemd"
|
||||||
pacman = "decman.plugins.pacman:Pacman"
|
pacman = "decman.plugins.pacman:Pacman"
|
||||||
aur = "decman.plugins.aur:AUR"
|
aur = "decman.plugins.aur:AUR"
|
||||||
|
flatpak = "decman.plugins.flatpak:Flatpak"
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = [
|
dev = [
|
||||||
|
|||||||
@@ -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
|
# Helper function to set PTY window size to the current terminal size
|
||||||
def resize_pty(*args):
|
def resize_pty(*args):
|
||||||
try:
|
try:
|
||||||
rows, cols = shutil.get_terminal_size()
|
cols, rows = shutil.get_terminal_size()
|
||||||
winsz = struct.pack("HHHH", rows, cols, 0, 0)
|
winsz = struct.pack("HHHH", rows, cols, 0, 0)
|
||||||
fcntl.ioctl(master_fd, termios.TIOCSWINSZ, winsz)
|
fcntl.ioctl(master_fd, termios.TIOCSWINSZ, winsz)
|
||||||
except OSError:
|
except OSError:
|
||||||
|
|||||||
Reference in New Issue
Block a user