File size: 419 Bytes
776286d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import type { CommandRunInput } from 'claude-code'
import { DIFF } from './diff.js'
/**
* The command typed under the fullscreen layout on a terminal so many
* columns wide, as its presentation tells the hooks.
*
* @param columns the terminal's width
* @returns the command's input
*/
export const diffAt = (columns: number): CommandRunInput => ({
...DIFF,
presentation: { isFullscreen: true, columns },
})
|