Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in command line window #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

KSR-Yasuda
Copy link

In command line window (q:), window resizer raises an error below:

Error detected while processing function <SNR>69_tuiResizeCommands[2]..<SNR>69_getResizeBehavior[3]..winresizer#getEdgeInfo[4]..winresizer#canMoveCursorFromCurrentWindow:
line    8:
E11: Invalid in command-line window; <CR> executes, CTRL-C quits
line   10:
E11: Invalid in command-line window; <CR> executes, CTRL-C quits
line    8:
E11: Invalid in command-line window; <CR> executes, CTRL-C quits
line   10:
E11: Invalid in command-line window; <CR> executes, CTRL-C quits
line    8:
E11: Invalid in command-line window; <CR> executes, CTRL-C quits
line   10:
E11: Invalid in command-line window; <CR> executes, CTRL-C quits
line    8:
E11: Invalid in command-line window; <CR> executes, CTRL-C quits
line   10:
E11: Invalid in command-line window; <CR> executes, CTRL-C quits

It checks window position (winresizer#getEdgeInfo()), however,
it cannot switch windows with opening command line window.


Suppressed the error by silent! anyway.

But since it fails winresizer#getEdgeInfo(),
resize hotkey is wrong:
for command line window opening bottom,
key k / j should window size increase / decrease, but opposite (probably default setting);
and still it raises errors in changing WindowResizer's mode (f / m).

Is there any way to know it is a command line window?

@KSR-Yasuda
Copy link
Author

Is there any way to know it is a command line window?

Tried to check by getcmdwintype() beging not empty.

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.

1 participant