If a witness, required to enter into an undertaking to appear and testify, either with or without sureties, refuses compliance with the order for that purpose, the magistrate must commit him to prison until he complies or is legally discharged.
Idaho Code § 19-823
Commitment for failure to give security
Current official text: Idaho Statutes (Idaho Legislature). Digitized from the UniCourt Code Improvement Commission public-domain capture. Reproduced from public-domain Idaho statutes; confirm against the official source for the current text. Not legal advice.