#!/bin/bash
set -e

yesno "Do you want to share the output of fcitx5-diagnose to help the developers understand your problems better. [y|n]" yep

if [ "$REPLY" != yep ]; then
  exit 0
fi
printf "\n--- Fcitx5 Diagnose output ---\n\n" >&3
fcitx5-diagnose >&3
