less-bsu-esu.diff (429B)
1 diff --git a/command.c b/command.c 2 index 0fc2b7a..2d3b8bd 100644 3 --- a/command.c 4 +++ b/command.c 5 @@ -1572,6 +1572,10 @@ public void commands(void) 6 if (is_ignoring_input(action)) 7 continue; 8 9 + 10 + printf("\033P=1s\033\\"); 11 + fflush(stdout); 12 + 13 switch (action) 14 { 15 case A_START_PASTE: 16 @@ -2434,5 +2438,7 @@ public void commands(void) 17 lbell(); 18 break; 19 } 20 + printf("\033P=2s\033\\"); 21 + fflush(stdout); 22 } 23 }