diff options
Diffstat (limited to 'src/cmdline.h')
| -rw-r--r-- | src/cmdline.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmdline.h b/src/cmdline.h index 1ec891b..bd3158d 100644 --- a/src/cmdline.h +++ b/src/cmdline.h @@ -46,6 +46,9 @@ typedef struct { */ teco_view_t *view; + /** Height of the command line view in lines */ + guint height; + /** Program counter within the command-line macro */ gsize pc; @@ -80,7 +83,7 @@ teco_cmdline_ssm(unsigned int iMessage, uptr_t wParam, sptr_t lParam) * On the other hand this limits how you can customize the scroll behavior. */ static inline void -teco_cmdline_resize(guint width) +teco_cmdline_resized(guint width) { teco_cmdline_ssm(SCI_SETXCARETPOLICY, CARET_SLOP | CARET_EVEN, width/2); } |
