From: Tom de Vries <tdevries@suse.de>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] [gdb/tui] Use more box_width in tui-regs.c
Date: Sat, 16 Dec 2023 10:27:05 +0100 [thread overview]
Message-ID: <7e9b02eb-dd08-4419-a11d-953449cedbba@suse.de> (raw)
In-Reply-To: <87msub8os1.fsf@tromey.com>
On 12/15/23 16:32, Tom Tromey wrote:
>>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
>
> Tom> /* Now create each data "sub" window, and write the display into
> Tom> it. */
> Tom> - int cur_y = 1;
> Tom> + int cur_y = box_width ();
>
> It is sort of weird to see the pairing of "y" and "width", but I suppose
> there isn't a "box_height" method.
>
Yeah, I may have confused width and thickness when choosing that name.
Anyway, looking at one of the PRs you just filed, we may go to a
hborder/vborder (horizontal/vertical) approach [ or even a
tborder/bborder/lborder/rborder (top/bottom/left/right) approach ] and I
suppose that could be a good moment to rectify this misnomer.
> Anyway it seems fine.
> Approved-By: Tom Tromey <tom@tromey.com>
Thanks for the review.
Committed.
Thanks,
- Tom
next prev parent reply other threads:[~2023-12-16 9:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-15 11:37 Tom de Vries
2023-12-15 15:32 ` Tom Tromey
2023-12-16 9:27 ` Tom de Vries [this message]
2023-12-18 14:16 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7e9b02eb-dd08-4419-a11d-953449cedbba@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
--cc=tom@tromey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).