A surgical stapler for stapling the tissue of a patient, comprising: is disclosed. The surgical stapler comprises a handle comprising a display, a shaft extending from the handle, and an end effector extending from the shaft, wherein the end effector comprises a group of staples and an anvil configured to deform the staples. The surgical stapler further comprises a firing system configured to deploy the staples along a firing path, a vision system configured to capture a tissue image of the patient tissue, and a controller configured to generate an image overlay representing the firing path and to display the image overlay over the tissue image on the display.L'invention concerne une agrafeuse chirurgicale destinée à agrafer le tissu d'un patient. L'agrafeuse chirurgicale comprend une poignée comprenant un dispositif d'affichage, une tige prenant naissance au niveau de la poignée, et un effecteur terminal prenant naissance au niveau de la tige, l'effecteur terminal comprenant un groupe d'agrafes et une enclume conçue pour déformer les agrafes. L'agrafeuse chirurgicale comprend en outre un système de déclenchement conçu pour déployer les agrafes le long d'un trajet de déclenchement, un système de vision configuré pour capturer une image de tissu du tissu du patient, et un dispositif de commande configuré pour générer une superposition d'images représentant le trajet de déclenchement et pour afficher la superposition d'images sur l'image de tissu sur le dispositif d'affichage.