Skip to content

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