Duplicate line in TermControl #1015

Closed
opened 2026-01-30 22:14:00 +00:00 by claunia · 3 comments
Owner

Originally created by @dannyd89 on GitHub (May 13, 2019).

I've found a duplicate line in the TermControl::Create function, either its missing to initialize the vertical alignment or it's just double setting the horizontal one.

1e478ae99d/src/cascadia/TerminalControl/TermControl.cpp (L80)

I would have filed a PR but I don't have the environment to do this currently, I hope it's helpful anyway.

Originally created by @dannyd89 on GitHub (May 13, 2019). I've found a duplicate line in the TermControl::Create function, either its missing to initialize the vertical alignment or it's just double setting the horizontal one. https://github.com/microsoft/Terminal/blob/1e478ae99d53a5f54483becfb6c3b379077b8fd9/src/cascadia/TerminalControl/TermControl.cpp#L80 I would have filed a PR but I don't have the environment to do this currently, I hope it's helpful anyway.
Author
Owner

@bef178 commented on GitHub (May 13, 2019):

I think a Help-Wanted label will be add soon lol

@bef178 commented on GitHub (May 13, 2019): I think a Help-Wanted label will be add soon lol
Author
Owner

@zadjii-msft commented on GitHub (May 13, 2019):

Huh. that should almost certainly be Vertical instead of Horizontal.

I'm a little curious that this works at all without it, but hey ¯\_(ツ)_/¯

@zadjii-msft commented on GitHub (May 13, 2019): Huh. that should almost certainly be `Vertical` instead of `Horizontal`. I'm a little curious that this works at all without it, but hey ¯\\\_(ツ)\_/¯
Author
Owner

@zadjii-msft commented on GitHub (Jul 3, 2019):

This looks like it got fixed in #<some PR>

@zadjii-msft commented on GitHub (Jul 3, 2019): This looks like it got fixed in #\<some PR\>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1015