Skip to content

Fix getColumnNumber("main")#2317

Merged
vadi2 merged 1 commit intoMudlet:developmentfrom
druuimai:getColumnNumberFix#2316
Feb 5, 2019
Merged

Fix getColumnNumber("main")#2317
vadi2 merged 1 commit intoMudlet:developmentfrom
druuimai:getColumnNumberFix#2316

Conversation

@druuimai
Copy link
Copy Markdown
Contributor

@druuimai druuimai commented Feb 5, 2019

…by calling to getColumnNumber(win).

Brief overview of PR changes/additions

This ensures that calling to GetColumnNumber(windowName) on the mudlet side will properly return the result for Xecho function on the Lua side.

Motivation for adding to Mudlet

I find it curious that moveCursor is not the main cause of misalignment rather, it is getColumnNumber that failed to return the result. so in this fix, it should now correctly return the result as intended.

Other info (issues closed, discussion etc)

this should resolve #2316 and #743

@druuimai druuimai requested a review from a team as a code owner February 5, 2019 06:46
@druuimai druuimai requested a review from a team February 5, 2019 06:46
@add-deployment-links
Copy link
Copy Markdown

add-deployment-links bot commented Feb 5, 2019

Hey there! Thanks for helping Mudlet improve. 🌟

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

@druuimai druuimai requested a review from a team February 5, 2019 06:46
@vadi2 vadi2 changed the title fixed getColumnNumber on cpp side so Xecho function will not mess up … Fix getColumnNumber("main") Feb 5, 2019
@vadi2 vadi2 merged commit 0cc3d91 into Mudlet:development Feb 5, 2019
@vadi2 vadi2 added this to the 3.17.1 milestone Feb 5, 2019
@druuimai druuimai deleted the getColumnNumberFix#2316 branch February 6, 2019 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

moveCursor not functioning properly.

2 participants