mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
This commit is contained in:
parent
c004d0c899
commit
acf6b344f7
99 changed files with 681 additions and 655 deletions
|
@ -57,9 +57,9 @@ fn frame(mut app App) {
|
|||
description: 'Hello! This should show an *animated* example application description.
|
||||
We are at frame ${app.frame}.
|
||||
Press ESCAPE or Ctrl+C to exit'
|
||||
footer: '
|
||||
footer: '
|
||||
Press ESCAPE or Ctrl+C to exit'
|
||||
fields: {
|
||||
fields: {
|
||||
'level': 'Level of lorem ipsum\nand more\nmany many many more.\nNotice how user newlines/format is kept since\ninput lines are all less or within\nthe default layout.description_padding\nand max width'
|
||||
'example': 'Looong example text without newlines or anything else and lorem ipsum and more and many many many more. Should be auto fitted'
|
||||
'multi': 'This flag can be repeated'
|
||||
|
|
|
@ -209,11 +209,11 @@ Editing property: ${app.edit}, value: ${value}')
|
|||
help_text := flag.to_doc[DocTest](
|
||||
description: 'Simple DocLayout editor.
|
||||
Press ESCAPE or Ctrl+C to exit and print layout code'
|
||||
footer: '
|
||||
footer: '
|
||||
Press ESCAPE or Ctrl+C to exit and print layout code'
|
||||
fields: unsafe { field_docs }
|
||||
layout: app.layout
|
||||
options: app.options
|
||||
fields: unsafe { field_docs }
|
||||
layout: app.layout
|
||||
options: app.options
|
||||
) or { '' }
|
||||
|
||||
app.tui.draw_text(0, 5, '${help_text}')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue