Commit Diff
- Commit:
c5d0edcd32396b2700e5a9cf803434afe59b6ba0- From:
- Omar Polo <op@omarpolo.com>
- Date:
- Message:
- use printf instead of dprintf; for solaris compat Solaris before 11.4 lacks dprintf(), spotted by vins. Instead of providing a local implementation, since we're using dprintf() just to set the window title, use printf() + fflush().
- Actions:
- Patch | Tree
--- ui.c +++ ui.c @@ -1072,9 +1072,11 @@ redraw_tab(struct tab *tab) doupdate(); - if (set_title) - dprintf(1, "\033]2;%s - Telescope\a", + if (set_title) { + printf("\033]2;%s - Telescope\a", current_tab->buffer.title); + fflush(stdout); + } } void
