Merge pull request #9 from gg-rewrite/fix-anchor-options

added 'pinned' anchor option
This commit is contained in:
Ilia Bozhinov 2020-05-20 17:18:59 +02:00 committed by GitHub
commit 6580840b5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,7 +179,7 @@ int main(int argc, char **argv)
("keyboard width") | ("keyboard width") |
clara::detail::Opt(wf::osk::default_height, "int")["-h"]["--height"] clara::detail::Opt(wf::osk::default_height, "int")["-h"]["--height"]
("keyboard height") | ("keyboard height") |
clara::detail::Opt(wf::osk::anchor, "top|left|bottom|right")["-a"] clara::detail::Opt(wf::osk::anchor, "top|left|bottom|right|pinned")["-a"]
["--anchor"]("where the keyboard should anchor in the screen"); ["--anchor"]("where the keyboard should anchor in the screen");
auto res = cli.parse(clara::detail::Args(argc, argv)); auto res = cli.parse(clara::detail::Args(argc, argv));