Fabian Boehm 18c65df3c7 Add a clear-screen bind function to clear the screen (#10044)
This can be bound like `bind \cl clear-screen`, and is, by default

In contrast to the current way it doesn't need the external `clear`
command that was always awkward.

Also it will clear the screen and first draw the old prompt to remove
flicker.
Then it will immediately trigger a repaint, so the prompt will be overwritten.

(cherry picked from commit c4ca1a68d361c2f0e636c2f5aba53fc0c35a52f1)
2023-10-08 17:15:20 +02:00
..
2022-12-21 16:24:00 +01:00
2022-03-12 00:21:13 +08:00
2022-03-12 00:21:13 +08:00
2023-10-01 10:37:28 +02:00
2022-03-12 00:21:13 +08:00
2022-03-12 00:21:13 +08:00
2022-03-12 00:21:13 +08:00
2023-01-09 20:33:37 +01:00
2022-10-19 20:10:26 +02:00
2022-09-17 21:31:06 +08:00
2023-10-06 18:49:55 +02:00
2022-03-12 00:21:13 +08:00
2022-03-12 00:21:13 +08:00
2022-03-12 00:21:13 +08:00
2022-03-12 00:21:13 +08:00
2022-03-12 00:21:13 +08:00
2023-09-08 19:57:56 +02:00
2022-03-12 00:21:13 +08:00
2022-10-26 12:15:02 -05:00
2022-10-06 21:30:13 +02:00
2022-03-12 00:21:13 +08:00
2023-01-09 20:33:37 +01:00
2022-07-16 12:40:36 -07:00
2022-12-01 17:56:57 +01:00
2022-09-17 21:31:06 +08:00
2022-03-12 00:21:13 +08:00
2022-03-12 00:21:13 +08:00