1. An electronic device comprising:a window forming at least part of a front surface of the electronic device, the window including a flat portion and a bent portion, the bent portion including a through hole;
a display comprising a flat portion visible via the flat portion of the window and a bent portion visible via the bent portion of the window, the bent portion of the display including an opening aligned with the through hole;
at least one input unit passing through the through hole and the opening; and
a circuit configured to generate a signal when the at least one input unit is pressed,
wherein an interval between unit signal lines in a plurality of first signal lines arranged on the flat portion of the display is different from an interval between unit signal lines in a plurality of second signal lines disposed in the bent portion of the display.