feat(window): add height&width option for editing window (#1913)
Co-authored-by: zhangkai.zju <zhangkai.zju@bytedance.com>
This commit is contained in:
@@ -204,7 +204,7 @@ function PromptInput:show_shortcuts_hints()
|
||||
win = self.winid,
|
||||
width = width,
|
||||
height = 1,
|
||||
row = math.min(buf_height, win_height),
|
||||
row = win_height,
|
||||
col = math.max(win_width - width, 0),
|
||||
style = "minimal",
|
||||
border = "none",
|
||||
|
||||
Reference in New Issue
Block a user