x-itec / conque

Automatically exported from code.google.com/p/conque
0 stars 0 forks source link

Resize terminal when entering insert mode #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start conque in a split
2. Start vim or less or some other "fullscreen" terminal application
3. Esc
4. Resize split
5. Enter insert mode

What is the expected output? What do you see instead?

Expected: SIGWINCH being sent. Actual: process thinks the window is the 
original size.

What version of the product are you using? On what operating system?

2.1, Mac OSX, MacVim 

Please provide any additional information below.

Adding the following autocmd to conque_term.vim fixes this.
sil exe 'autocmd ' . b:ConqueTerm_Var . ' InsertEnter <buffer> ' . s:py . ' ' . 
b:ConqueTerm_Var . '.update_window_size()'

Original issue reported on code.google.com by jasper.m...@gmail.com on 22 Jul 2011 at 4:28

GoogleCodeExporter commented 8 years ago
Fixed in trunk, although you need to have fast mode turned off (it's off by 
default). Conque must go in and out of insert mode every time the buffer 
changes (a character is typed for example).

Original comment by nicora...@gmail.com on 2 Sep 2011 at 3:53