Is it vanilla feature of making TUI frame of blue color? Now the
window molders away after `winheight src +8` command. The result is
deplorable. If the answer is "yes", what is the functional role of
blue frame? I'm not sure if the color of the frame is the culprit but
something bad happens with terminal after GDB in TUI mode and only
`reset` helps. Downgrading to 8.3 fixed the issue.
> Date: Mon, 17 Feb 2020 19:46:36 +0200
> From: Eli Zaretskii <[hidden email]>
> CC: [hidden email] >
> > From: Aleksey Midenkov <[hidden email]>
> > Date: Mon, 17 Feb 2020 19:26:07 +0300
> > Now the window molders away after `winheight src +8` command.
> This looks like a bug, and is probably unrelated to colors. Suggest
> to make a bug report.
The patch below seems to fix some of the problem, but not all of it:
the position of the status line (the one that shows the process
information) is not updated correctly.
Tom, where's the position update of the status line supposed to be
And btw, the meaning of the 'locator' object in tui_adjust_win_heights
is unclear: to which window does it pertain, and what is the
significance of this line:
TUI_CMD_WIN->origin.y = locator->origin.y + 1;
I think we could use some additional comments in tui-stack.c or
tui-stack.h, to explain what is the meaning and expected use of
Eli> And btw, the meaning of the 'locator' object in tui_adjust_win_heights
Eli> is unclear: to which window does it pertain, and what is the
Eli> significance of this line:
You and Simon discussed this down-thread. FWIW the name "locator" has
been used in the source since the beginning; but I also don't
particularly care for it (for a long time I could never remember the
name and had to search to find it whenever I needed it). So, I would
appreciate a rename in the code here as well.
Also, thanks for pointing out that this is called "status" in the docs.
That affects my other series to make user-specified layouts. In that
series I called the window "locator" -- but I'm going to go rename it.