# Using ctrl + k to access in line AI prompting can cause the window view to slip under the next window

**URL:** <https://forum.cursor.com/t/using-ctrl-k-to-access-in-line-ai-prompting-can-cause-the-window-view-to-slip-under-the-next-window/28176>\
**Category:** Bug Reports\
**Created:** [November 16, 2024, 9:07am UTC](https://forum.cursor.com/t/using-ctrl-k-to-access-in-line-ai-prompting-can-cause-the-window-view-to-slip-under-the-next-window/28176 "2024-11-16T09:07:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![deeterbleater](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deeterbleater/32/12069_2.png) [@deeterbleater](https://forum.cursor.com/u/deeterbleater)\
**Post date:** [November 16, 2024, 9:07am UTC](https://forum.cursor.com/t/using-ctrl-k-to-access-in-line-ai-prompting-can-cause-the-window-view-to-slip-under-the-next-window/28176/1 "2024-11-16T09:07:50Z")

</div>

If you have the window size set fairly narrow and then use the ctrl + k AI prompt it will cause the editor to slide under the window to the left so that the text cut off. I have not found a way to fix this without closing the client and reopening it.

I am able to replicate this bug.

In the screenshot you can see there is no scroll bar to access the cut off text, if you make the window narrower it will show the scroll bar pinned against the left.

 ![image](https://us1.discourse-cdn.com/cursor1/original/2X/d/d4bc3c1967f6fd361ff82a484c2cdbcb73ef6e34.png)

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [December 5, 2024, 2:14pm UTC](https://forum.cursor.com/t/using-ctrl-k-to-access-in-line-ai-prompting-can-cause-the-window-view-to-slip-under-the-next-window/28176/2 "2024-12-05T14:14:24Z")

</div>

Hey, it seems this doesn’t occur in the latest version of Cursor.

---

<div class="post-metadata">

**Author:** ![deeterbleater](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deeterbleater/32/12069_2.png) [@deeterbleater](https://forum.cursor.com/u/deeterbleater)\
**Post date:** [December 5, 2024, 11:22pm UTC](https://forum.cursor.com/t/using-ctrl-k-to-access-in-line-ai-prompting-can-cause-the-window-view-to-slip-under-the-next-window/28176/3 "2024-12-05T23:22:51Z")

</div>

Can confirm, I can no longer reproduce this bug.
