mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Co-authored-by: Piña Colada <engineerarun@gmail.com>
This commit is contained in:
parent
163102e8ae
commit
802a7794ae
|
@ -5935,7 +5935,7 @@ begin:
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NOX11
|
#ifndef NOX11
|
||||||
if (cfg.x11) {
|
if (cfg.x11 && !g_state.picker) {
|
||||||
/* Set terminal window title */
|
/* Set terminal window title */
|
||||||
r = set_tilde_in_path(path);
|
r = set_tilde_in_path(path);
|
||||||
|
|
||||||
|
@ -7540,7 +7540,7 @@ static bool set_tmp_path(void)
|
||||||
static void cleanup(void)
|
static void cleanup(void)
|
||||||
{
|
{
|
||||||
#ifndef NOX11
|
#ifndef NOX11
|
||||||
if (cfg.x11) {
|
if (cfg.x11 && !g_state.picker) {
|
||||||
printf("\033[23;0t"); /* reset terminal window title */
|
printf("\033[23;0t"); /* reset terminal window title */
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
@ -7961,7 +7961,7 @@ int main(int argc, char *argv[])
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NOX11
|
#ifndef NOX11
|
||||||
if (cfg.x11) {
|
if (cfg.x11 && !g_state.picker) {
|
||||||
/* Save terminal window title */
|
/* Save terminal window title */
|
||||||
printf("\033[22;0t");
|
printf("\033[22;0t");
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
|
Loading…
Reference in a new issue