Mercurial > vim
view pixmaps/tb_new_session.xpm @ 27615:a74901e95937 v8.2.4334
patch 8.2.4334: command line popup menu not positioned correctly
Commit: https://github.com/vim/vim/commit/68cc2b8a37197872e737fb61244069e13b7227a2
Author: rbtnn <naru123456789@gmail.com>
Date: Wed Feb 9 11:55:47 2022 +0000
patch 8.2.4334: command line popup menu not positioned correctly
Problem: Command line popup menu not positioned correctly.
Solution: Also use vim_strsize() on the existing text. (Naruhiko Nishino,
closes #9727)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 09 Feb 2022 13:00:05 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_new_session_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 8 1 0 0", /* colors */ " s none m none c none", ". s bottomShadowColor m black c #5D6069", "X s iconColor2 m none c #FFFFFF", "o s iconColor1 m black c #000000", "O s iconGray2 m none c #bdbdbd", "+ s iconGray5 m black c #737373", "@ s iconGray4 m none c #949494", "# s iconColor3 m black c #FF0000", /* pixels */ " . .X. . ", " . oXo . ", " ..oXXXo.. ", " XXXXXXXXX ", " ..oXXXo.. ", " . oXo . ", " . .X. . ", " . ", " ooooooooooooo ", " oXXXXXXXXXXOO+o ", " oXXXXXXXXXXXX@+o ", " oXOOOOOOOOO##@+o ", " oXOOOOOOOOOOO@+o ", " oXooooooooooO@+o.", " oXXXXXXXXXXXO@+o.", " oO@@@@@@@@@@@+o. ", " ooooooooooooo. ", " ........... "};