We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 872f083 commit 8b1b297Copy full SHA for 8b1b297
less-34/less/screen.c
@@ -736,9 +736,11 @@ ltgetstr(capname, pp)
736
if (strcmp(capname, "ke") == 0) // end keypad mode
737
return NULL;
738
if (strcmp(capname, "ti") == 0) // Startup terminal initialization
739
- return NULL;
+ return "\033[?47h";
740
+ // return NULL;
741
if (strcmp(capname, "te") == 0) // End terminal initialization
742
+ return "\033[?47l";
743
744
if (strcmp(capname, "ce") == 0) // Clear to end of line
745
return "\033[K";
746
if (strcmp(capname, "cd") == 0) // Clear to end of screen
0 commit comments