From 9ec77975e5fef89a3189fd61d56865b3cd8df798 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Wed, 14 Jun 2023 01:52:06 +0300 Subject: [PATCH] print some long info via less --- funkwhale_cli.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/funkwhale_cli.py b/funkwhale_cli.py index 34a1b25..8b97953 100755 --- a/funkwhale_cli.py +++ b/funkwhale_cli.py @@ -11,8 +11,7 @@ from src.fw_recents import list_fav_or_history import src.settings as settings import src.mpv_control import json -import sys -import time +import os from shlex import quote from loguru import logger from pyfzf.pyfzf import FzfPrompt @@ -122,21 +121,22 @@ Insert token from "Access token" here''') current_instance.select_instance(instance) if selected == 'Donate': - print('Support instance message:') - print(support_message) - input() + os.system(f'less <