Select a region of the screen, OCR it, and put the text on your clipboard. The --literal flag stops the OCR engine from "correcting" identifiers into dictionary words, so usr_cnt stays usr_cnt and your typos stay yours. Indentation is not preserved, so run a formatter afterwards.