A keyboard display method, applied to a foldable-screen device and comprising: displaying a first interface, wherein the first interface comprises a first region and a second region, the first region is used to display an interface of a first app, the second region is used to display an interface of a second app, the first region comprises a first input box of the first app, and the second region comprises a second input box of the second app; when the first region and the second region are distributed from left to right, receiving a first operation performed by a user on the first input box, wherein the first operation is used to determine that an input cursor is located in the first input box; displaying a keyboard region in the first region in response to the first operation; receiving a second operation performed by the user on the second input box, wherein the second operation is used to determine that the input cursor is located in the second input box; in response to the second operation, displaying the keyboard region in the second region, and stopping displaying the keyboard region in the first region; receiving a third operation performed by the user on a third app, wherein the third operation is used to open the third app; displaying a third region by a floating window in response to the third operation, wherein the third region is used to display an interface of the third app, and the third region comprises a third input box of the third app; receiving a fourth operation performed on the third input box, wherein the fourth operation is used to determine that the input cursor is located in the third input box; displaying the keyboard region by a floating window in response to the fourth operation; and when the third region is located on an upper position of the second region, the keyboard region is vertically adjacent to the third region and the keyboard region is located on a lower position of the second region. displaying a first interface, wherein the first interface comprises a first region and a second region, the first region is used to display an interface of a first app, the second region is used to display an interface of a second app, the first region comprises a first input box of the first app, and the second region comprises a second input box of the second app; when the first region and the second region are distributed from left to right, receiving a first operation performed by a user on the first input box, wherein the first operation is used to determine that an input cursor is located in the first input box; displaying a keyboard region in the first region in response to the first operation; receiving a second operation performed by the user on the second input box, wherein the second operation is used to determine that the input cursor is located in the second input box; in response to the second operation, displaying the keyboard region in the second region, and stopping displaying the keyboard region in the first region; receiving a third operation performed by the user on a third app, wherein the third operation is used to open the third app; displaying a third region by a floating window in response to the third operation, wherein the third region is used to display an interface of the third app, and the third region comprises a third input box of the third app; receiving a fourth operation performed on the third input box, wherein the fourth operation is used to determine that the input cursor is located in the third input box; displaying the keyboard region by a floating window in response to the fourth operation; and when the third region is located on an upper position of the second region, the keyboard region is vertically adjacent to the third region and the keyboard region is located on a lower position of the second region. <EOS>