UNPKG

cosmic-interchain-cli

Version:

A command-line utility for Cosmic Wire's interchain messaging protocol

9 lines 613 B
/** * Calculates the page size for a CLI Terminal output, taking into account the number of lines to skip and a default page size. * * @param skipSize - The number of lines to skip, which can be used to skip previous prompts. * @param defaultPageSize - The default page size to use if the terminal height is too small. * @returns The calculated pageSize, which is the terminal height minus the skip size, or the default page size if the terminal height is too small. */ export declare function calculatePageSize(skipSize?: number, defaultPageSize?: number): number; //# sourceMappingURL=cli-options.d.ts.map