packages feed

hledger-ui 1.28 → 1.29

raw patch · 6 files changed

+491/−450 lines, 6 filesdep ~hledgerdep ~hledger-lib

Dependency ranges changed: hledger, hledger-lib

Files

CHANGES.md view
@@ -9,7 +9,13 @@ User-visible changes in hledger-ui. See also the hledger changelog. -# 1.28 2022-11-30+# 1.29 2023-03-11++- In the help dialog, mention that LEFT shows other screens.++- In the manual, mention shift-up/down config needed for Terminal.app.++# 1.28 2022-12-01  Features 
Hledger/UI/UIUtils.hs view
@@ -159,7 +159,7 @@                   ,renderKey ("UP/DOWN/PUP/PDN/HOME/END/k/j/C-p/C-n", "")                   ,str "     move selection up/down"                   ,renderKey ("RIGHT/l/C-f", "show txns, or txn detail")-                  ,renderKey ("LEFT/h/C-b ", "go back")+                  ,renderKey ("LEFT/h/C-b ", "go back/see other screens")                   ,renderKey ("ESC ", "cancel, or reset app state")                    ,str " "@@ -422,7 +422,7 @@     excludeforecastq (Just _) = Any     excludeforecastq Nothing  =  -- not:date:tomorrow- not:tag:generated-transaction       And [-         Not (Date $ DateSpan (Just $ addDays 1 $ _rsDay rspec) Nothing)+         Not (Date $ DateSpan (Just $ Exact $ addDays 1 $ _rsDay rspec) Nothing)         ,Not generatedTransactionTag       ] 
hledger-ui.1 view
@@ -1,37 +1,40 @@ -.TH "HLEDGER-UI" "1" "December 2022" "hledger-ui-1.28 " "hledger User Manuals"+.TH "HLEDGER-UI" "1" "March 2023" "hledger-ui-1.29 " "hledger User Manuals"    .SH NAME .PP-hledger-ui is a terminal interface (TUI) for the hledger accounting-tool.-This manual is for hledger-ui 1.28.+hledger-ui - robust, friendly plain text accounting (TUI version) .SH SYNOPSIS .PP-\f[C]hledger-ui [OPTIONS] [QUERYARGS]\f[R]+\f[V]hledger-ui [OPTIONS] [QUERYARGS]\f[R] .PD 0 .P .PD-\f[C]hledger ui -- [OPTIONS] [QUERYARGS]\f[R]+\f[V]hledger ui -- [OPTIONS] [QUERYARGS]\f[R] .SH DESCRIPTION .PP-hledger is a reliable, cross-platform set of programs for tracking-money, time, or any other commodity, using double-entry accounting and a-simple, editable file format.-hledger is inspired by and largely compatible with ledger(1).+This manual is for hledger\[aq]s terminal interface, version 1.29.+See also the hledger manual for common concepts and file formats. .PP+hledger is a robust, user-friendly, cross-platform set of programs for+tracking money, time, or any other commodity, using double-entry+accounting and a simple, editable file format.+hledger is inspired by and largely compatible with ledger(1), and+largely interconvertible with beancount(1).+.PP hledger-ui is hledger\[aq]s terminal interface, providing an efficient full-window text UI for viewing accounts and transactions, and some limited data entry capability. It is easier than hledger\[aq]s command-line interface, and sometimes quicker and more convenient than the web interface. .PP-Like hledger, it reads data from one or more files in hledger journal,-timeclock, timedot, or CSV format specified with \f[C]-f\f[R], or-\f[C]$LEDGER_FILE\f[R], or \f[C]$HOME/.hledger.journal\f[R] (on windows,-perhaps \f[C]C:/Users/USER/.hledger.journal\f[R]).+Like hledger, it reads data from one or more files in journal,+timeclock, timedot, or CSV format.+The default file is \f[V].hledger.journal\f[R] in your home directory;+this can be overridden with one or more \f[V]-f FILE\f[R] options, or+the \f[V]LEDGER_FILE\f[R] environment variable. For more about this see hledger(1), hledger_journal(5) etc. .PP Unlike hledger, hledger-ui hides all future-dated transactions by@@ -41,155 +44,155 @@ enable \[dq]forecast mode\[dq]. .SH OPTIONS .PP-Note: if invoking hledger-ui as a hledger subcommand, write \f[C]--\f[R]+Note: if invoking hledger-ui as a hledger subcommand, write \f[V]--\f[R] before options as shown above. .PP Any QUERYARGS are interpreted as a hledger search query which filters the data. .TP-\f[B]\f[CB]-w --watch\f[B]\f[R]+\f[V]-w --watch\f[R] watch for data and date changes and reload automatically .TP-\f[B]\f[CB]--theme=default|terminal|greenterm\f[B]\f[R]+\f[V]--theme=default|terminal|greenterm\f[R] use this custom display theme .TP-\f[B]\f[CB]--menu\f[B]\f[R]+\f[V]--menu\f[R] start in the menu screen .TP-\f[B]\f[CB]--all\f[B]\f[R]+\f[V]--all\f[R] start in the all accounts screen .TP-\f[B]\f[CB]--bs\f[B]\f[R]+\f[V]--bs\f[R] start in the balance sheet accounts screen .TP-\f[B]\f[CB]--is\f[B]\f[R]+\f[V]--is\f[R] start in the income statement accounts screen .TP-\f[B]\f[CB]--register=ACCTREGEX\f[B]\f[R]+\f[V]--register=ACCTREGEX\f[R] start in the (first) matched account\[aq]s register screen .TP-\f[B]\f[CB]--change\f[B]\f[R]+\f[V]--change\f[R] show period balances (changes) at startup instead of historical balances .TP-\f[B]\f[CB]-l --flat\f[B]\f[R]+\f[V]-l --flat\f[R] show accounts as a flat list (default) .TP-\f[B]\f[CB]-t --tree\f[B]\f[R]+\f[V]-t --tree\f[R] show accounts as a tree .PP hledger input options: .TP-\f[B]\f[CB]-f FILE --file=FILE\f[B]\f[R]+\f[V]-f FILE --file=FILE\f[R] use a different input file.-For stdin, use - (default: \f[C]$LEDGER_FILE\f[R] or-\f[C]$HOME/.hledger.journal\f[R])+For stdin, use - (default: \f[V]$LEDGER_FILE\f[R] or+\f[V]$HOME/.hledger.journal\f[R]) .TP-\f[B]\f[CB]--rules-file=RULESFILE\f[B]\f[R]+\f[V]--rules-file=RULESFILE\f[R] Conversion rules file to use when reading CSV (default: FILE.rules) .TP-\f[B]\f[CB]--separator=CHAR\f[B]\f[R]+\f[V]--separator=CHAR\f[R] Field separator to expect when reading CSV (default: \[aq],\[aq]) .TP-\f[B]\f[CB]--alias=OLD=NEW\f[B]\f[R]+\f[V]--alias=OLD=NEW\f[R] rename accounts named OLD to NEW .TP-\f[B]\f[CB]--anon\f[B]\f[R]+\f[V]--anon\f[R] anonymize accounts and payees .TP-\f[B]\f[CB]--pivot FIELDNAME\f[B]\f[R]+\f[V]--pivot FIELDNAME\f[R] use some other field or tag for the account name .TP-\f[B]\f[CB]-I --ignore-assertions\f[B]\f[R]+\f[V]-I --ignore-assertions\f[R] disable balance assertion checks (note: does not disable balance assignments) .TP-\f[B]\f[CB]-s --strict\f[B]\f[R]+\f[V]-s --strict\f[R] do extra error checking (check that all posted accounts are declared) .PP hledger reporting options: .TP-\f[B]\f[CB]-b --begin=DATE\f[B]\f[R]+\f[V]-b --begin=DATE\f[R] include postings/txns on or after this date (will be adjusted to preceding subperiod start when using a report interval) .TP-\f[B]\f[CB]-e --end=DATE\f[B]\f[R]+\f[V]-e --end=DATE\f[R] include postings/txns before this date (will be adjusted to following subperiod end when using a report interval) .TP-\f[B]\f[CB]-D --daily\f[B]\f[R]+\f[V]-D --daily\f[R] multiperiod/multicolumn report by day .TP-\f[B]\f[CB]-W --weekly\f[B]\f[R]+\f[V]-W --weekly\f[R] multiperiod/multicolumn report by week .TP-\f[B]\f[CB]-M --monthly\f[B]\f[R]+\f[V]-M --monthly\f[R] multiperiod/multicolumn report by month .TP-\f[B]\f[CB]-Q --quarterly\f[B]\f[R]+\f[V]-Q --quarterly\f[R] multiperiod/multicolumn report by quarter .TP-\f[B]\f[CB]-Y --yearly\f[B]\f[R]+\f[V]-Y --yearly\f[R] multiperiod/multicolumn report by year .TP-\f[B]\f[CB]-p --period=PERIODEXP\f[B]\f[R]+\f[V]-p --period=PERIODEXP\f[R] set start date, end date, and/or reporting interval all at once using period expressions syntax .TP-\f[B]\f[CB]--date2\f[B]\f[R]+\f[V]--date2\f[R] match the secondary date instead (see command help for other effects) .TP-\f[B]\f[CB]--today=DATE\f[B]\f[R]+\f[V]--today=DATE\f[R] override today\[aq]s date (affects relative smart dates, for tests/examples) .TP-\f[B]\f[CB]-U --unmarked\f[B]\f[R]+\f[V]-U --unmarked\f[R] include only unmarked postings/txns (can combine with -P or -C) .TP-\f[B]\f[CB]-P --pending\f[B]\f[R]+\f[V]-P --pending\f[R] include only pending postings/txns .TP-\f[B]\f[CB]-C --cleared\f[B]\f[R]+\f[V]-C --cleared\f[R] include only cleared postings/txns .TP-\f[B]\f[CB]-R --real\f[B]\f[R]+\f[V]-R --real\f[R] include only non-virtual postings .TP-\f[B]\f[CB]-NUM --depth=NUM\f[B]\f[R]+\f[V]-NUM --depth=NUM\f[R] hide/aggregate accounts or postings more than NUM levels deep .TP-\f[B]\f[CB]-E --empty\f[B]\f[R]+\f[V]-E --empty\f[R] show items with zero amount, normally hidden (and vice-versa in hledger-ui/hledger-web) .TP-\f[B]\f[CB]-B --cost\f[B]\f[R]+\f[V]-B --cost\f[R] convert amounts to their cost/selling amount at transaction time .TP-\f[B]\f[CB]-V --market\f[B]\f[R]+\f[V]-V --market\f[R] convert amounts to their market value in default valuation commodities .TP-\f[B]\f[CB]-X --exchange=COMM\f[B]\f[R]+\f[V]-X --exchange=COMM\f[R] convert amounts to their market value in commodity COMM .TP-\f[B]\f[CB]--value\f[B]\f[R]+\f[V]--value\f[R] convert amounts to cost or market value, more flexibly than -B/-V/-X .TP-\f[B]\f[CB]--infer-market-prices\f[B]\f[R]+\f[V]--infer-market-prices\f[R] use transaction prices (recorded with \[at] or \[at]\[at]) as additional market prices, as if they were P directives .TP-\f[B]\f[CB]--auto\f[B]\f[R]+\f[V]--auto\f[R] apply automated posting rules to modify transactions. .TP-\f[B]\f[CB]--forecast\f[B]\f[R]+\f[V]--forecast\f[R] generate future transactions from periodic transaction rules, for the next 6 months or till report end date. In hledger-ui, also make ordinary future transactions visible. .TP-\f[B]\f[CB]--commodity-style\f[B]\f[R]+\f[V]--commodity-style\f[R] Override the commodity style in the output for the specified commodity. For example \[aq]EUR1.000,00\[aq]. .TP-\f[B]\f[CB]--color=WHEN (or --colour=WHEN)\f[B]\f[R]+\f[V]--color=WHEN (or --colour=WHEN)\f[R] Should color-supporting commands use ANSI color codes in text output. \[aq]auto\[aq] (default): whenever stdout seems to be a color-supporting terminal.@@ -198,7 +201,7 @@ \[aq]never\[aq] or \[aq]no\[aq]: never. A NO_COLOR environment variable overrides this. .TP-\f[B]\f[CB]--pretty[=WHEN]\f[B]\f[R]+\f[V]--pretty[=WHEN]\f[R] Show prettier output, e.g. using unicode box-drawing characters. Accepts \[aq]yes\[aq] (the default) or \[aq]no\[aq] (\[aq]y\[aq],@@ -213,24 +216,24 @@ .PP hledger help options: .TP-\f[B]\f[CB]-h --help\f[B]\f[R]+\f[V]-h --help\f[R] show general or COMMAND help .TP-\f[B]\f[CB]--man\f[B]\f[R]+\f[V]--man\f[R] show general or COMMAND user manual with man .TP-\f[B]\f[CB]--info\f[B]\f[R]+\f[V]--info\f[R] show general or COMMAND user manual with info .TP-\f[B]\f[CB]--version\f[B]\f[R]+\f[V]--version\f[R] show general or ADDONCMD version .TP-\f[B]\f[CB]--debug[=N]\f[B]\f[R]+\f[V]--debug[=N]\f[R] show debug output (levels 1-9, default: 1) .PP A \[at]FILE argument will be expanded to the contents of FILE, which should contain one command line option/argument per line.-(To prevent this, insert a \f[C]--\f[R] argument before.)+(To prevent this, insert a \f[V]--\f[R] argument before.) .SH MOUSE .PP In most modern terminals, you can navigate through the screens with a@@ -245,19 +248,20 @@ .PP Keyboard gives more control. .PP-\f[C]?\f[R] shows a help dialog listing all keys.+\f[V]?\f[R] shows a help dialog listing all keys. (Some of these also appear in the quick help at the bottom of each-screen.) Press \f[C]?\f[R] again (or \f[C]ESCAPE\f[R], or-\f[C]LEFT\f[R], or \f[C]q\f[R]) to close it.+screen.)+Press \f[V]?\f[R] again (or \f[V]ESCAPE\f[R], or \f[V]LEFT\f[R], or+\f[V]q\f[R]) to close it. The following keys work on most screens: .PP-The cursor keys navigate: \f[C]RIGHT\f[R] or \f[C]ENTER\f[R] goes-deeper, \f[C]LEFT\f[R] returns to the previous screen,-\f[C]UP\f[R]/\f[C]DOWN\f[R]/\f[C]PGUP\f[R]/\f[C]PGDN\f[R]/\f[C]HOME\f[R]/\f[C]END\f[R]+The cursor keys navigate: \f[V]RIGHT\f[R] or \f[V]ENTER\f[R] goes+deeper, \f[V]LEFT\f[R] returns to the previous screen,+\f[V]UP\f[R]/\f[V]DOWN\f[R]/\f[V]PGUP\f[R]/\f[V]PGDN\f[R]/\f[V]HOME\f[R]/\f[V]END\f[R] move up and down through lists. Emacs-style-(\f[C]CTRL-p\f[R]/\f[C]CTRL-n\f[R]/\f[C]CTRL-f\f[R]/\f[C]CTRL-b\f[R])-and VI-style (\f[C]k\f[R],\f[C]j\f[R],\f[C]l\f[R],\f[C]h\f[R]) movement+(\f[V]CTRL-p\f[R]/\f[V]CTRL-n\f[R]/\f[V]CTRL-f\f[R]/\f[V]CTRL-b\f[R])+and VI-style (\f[V]k\f[R],\f[V]j\f[R],\f[V]l\f[R],\f[V]h\f[R]) movement keys are also supported. A tip: movement speed is limited by your keyboard repeat rate, to move faster you may want to adjust it.@@ -265,84 +269,94 @@ .PP With shift pressed, the cursor keys adjust the report period, limiting the transactions to be shown (by default, all are shown).-\f[C]SHIFT-DOWN/UP\f[R] steps downward and upward through these standard+\f[V]SHIFT-DOWN/UP\f[R] steps downward and upward through these standard report period durations: year, quarter, month, week, day.-Then, \f[C]SHIFT-LEFT/RIGHT\f[R] moves to the previous/next period.-\f[C]T\f[R] sets the report period to today.-With the \f[C]-w/--watch\f[R] option, when viewing a \[dq]current\[dq]+Then, \f[V]SHIFT-LEFT/RIGHT\f[R] moves to the previous/next period.+\f[V]T\f[R] sets the report period to today.+With the \f[V]-w/--watch\f[R] option, when viewing a \[dq]current\[dq] period (the current day, week, month, quarter, or year), the period will move automatically to track the current date.-To set a non-standard period, you can use \f[C]/\f[R] and a-\f[C]date:\f[R] query.+To set a non-standard period, you can use \f[V]/\f[R] and a+\f[V]date:\f[R] query. .PP-\f[C]/\f[R] lets you set a general filter query limiting the data shown,+(Mac users: SHIFT-DOWN/UP keys do not work by default in Terminal, as of+MacOS Monterey.+You can configure them as follows: open Terminal, press CMD-comma to+open preferences, click Profiles, select your current terminal profile+on the left, click Keyboard on the right, click + and add this for+Shift-Down: \f[V]\[rs]033[1;2B\f[R], click + and add this for Shift-Up:+\f[V]\[rs]033[1;2A\f[R].+Press the Escape key to enter the \f[V]\[rs]033\f[R] part, you can\[aq]t+type it directly.)+.PP+\f[V]/\f[R] lets you set a general filter query limiting the data shown, using the same query terms as in hledger and hledger-web. While editing the query, you can use CTRL-a/e/d/k, BS, cursor keys;-press \f[C]ENTER\f[R] to set it, or \f[C]ESCAPE\f[R]to cancel.+press \f[V]ENTER\f[R] to set it, or \f[V]ESCAPE\f[R]to cancel. There are also keys for quickly adjusting some common filters like account depth and transaction status (see below).-\f[C]BACKSPACE\f[R] or \f[C]DELETE\f[R] removes all filters, showing all+\f[V]BACKSPACE\f[R] or \f[V]DELETE\f[R] removes all filters, showing all transactions. .PP As mentioned above, by default hledger-ui hides future transactions - both ordinary transactions recorded in the journal, and periodic transactions generated by rule.-\f[C]F\f[R] toggles forecast mode, in which future/forecasted+\f[V]F\f[R] toggles forecast mode, in which future/forecasted transactions are shown. .PP-\f[C]ESCAPE\f[R] resets the UI state and jumps back to the top screen,+\f[V]ESCAPE\f[R] resets the UI state and jumps back to the top screen, restoring the app\[aq]s initial state at startup. Or, it cancels minibuffer data entry or the help dialog. .PP-\f[C]CTRL-l\f[R] redraws the screen and centers the selection if+\f[V]CTRL-l\f[R] redraws the screen and centers the selection if possible (selections near the top won\[aq]t be centered, since we don\[aq]t scroll above the top). .PP-\f[C]g\f[R] reloads from the data file(s) and updates the current screen+\f[V]g\f[R] reloads from the data file(s) and updates the current screen and any previous screens. (With large files, this could cause a noticeable pause.) .PP-\f[C]I\f[R] toggles balance assertion checking.+\f[V]I\f[R] toggles balance assertion checking. Disabling balance assertions temporarily can be useful for troubleshooting. .PP-\f[C]a\f[R] runs command-line hledger\[aq]s add command, and reloads the+\f[V]a\f[R] runs command-line hledger\[aq]s add command, and reloads the updated file. This allows some basic data entry. .PP-\f[C]A\f[R] is like \f[C]a\f[R], but runs the hledger-iadd tool, which+\f[V]A\f[R] is like \f[V]a\f[R], but runs the hledger-iadd tool, which provides a terminal interface.-This key will be available if \f[C]hledger-iadd\f[R] is installed in+This key will be available if \f[V]hledger-iadd\f[R] is installed in $path. .PP-\f[C]E\f[R] runs $HLEDGER_UI_EDITOR, or $EDITOR, or a default-(\f[C]emacsclient -a \[dq]\[dq] -nw\f[R]) on the journal file.+\f[V]E\f[R] runs $HLEDGER_UI_EDITOR, or $EDITOR, or a default+(\f[V]emacsclient -a \[dq]\[dq] -nw\f[R]) on the journal file. With some editors (emacs, vi), the cursor will be positioned at the current transaction when invoked from the register and transaction screens, and at the error location (if possible) when invoked from the error screen. .PP-\f[C]B\f[R] toggles cost mode, showing amounts in their transaction-price\[aq]s commodity (like toggling the \f[C]-B/--cost\f[R] flag).+\f[V]B\f[R] toggles cost mode, showing amounts in their cost\[aq]s+commodity (like toggling the \f[V]-B/--cost\f[R] flag). .PP-\f[C]V\f[R] toggles value mode, showing amounts\[aq] current market+\f[V]V\f[R] toggles value mode, showing amounts\[aq] current market value in their default valuation commodity (like toggling the-\f[C]-V/--market\f[R] flag).+\f[V]-V/--market\f[R] flag). Note, \[dq]current market value\[dq] means the value on the report end date if specified, otherwise today. To see the value on another date, you can temporarily set that as the report end date. Eg: to see a transaction as it was valued on july 30, go to the accounts-or register screen, press \f[C]/\f[R], and add \f[C]date:-7/30\f[R] to+or register screen, press \f[V]/\f[R], and add \f[V]date:-7/30\f[R] to the query. .PP At most one of cost or value mode can be active at once. .PP There\[aq]s not yet any visual reminder when cost or value mode is-active; for now pressing \f[C]b\f[R] \f[C]b\f[R] \f[C]v\f[R] should+active; for now pressing \f[V]b\f[R] \f[V]b\f[R] \f[V]v\f[R] should reliably reset to normal mode. .PP-\f[C]q\f[R] quits the application.+\f[V]q\f[R] quits the application. .PP Additional screen-specific keys are described below. .SH SCREENS@@ -358,7 +372,7 @@ If a starting screen is specified with --menu/--all/--bs/--is/--register on the command line, it starts in that screen. .PP-From any screen you can press \f[C]LEFT\f[R] or \f[C]ESC\f[R] to+From any screen you can press \f[V]LEFT\f[R] or \f[V]ESC\f[R] to navigate back to the top level \[dq]Menu\[dq] screen. .SS Menu .PP@@ -369,19 +383,19 @@ This screen shows all accounts (possibly filtered by a query), and their end balances on the date shown in the title bar (or their balance changes in the period shown in the title bar, toggleable with-\f[C]H\f[R]).-It is like the \f[C]hledger balance\f[R] command.+\f[V]H\f[R]).+It is like the \f[V]hledger balance\f[R] command. .SS Balance sheet accounts .PP This screen shows asset, liability and equity accounts, if these can be detected (see account types). It always shows end balances.-It is like the \f[C]hledger balancesheetequity\f[R] command.+It is like the \f[V]hledger balancesheetequity\f[R] command. .SS Income statement accounts .PP This screen shows revenue and expense accounts. It always shows balance changes.-It is like the \f[C]hledger incomestatement\f[R] command.+It is like the \f[V]hledger incomestatement\f[R] command. .PP All of these accounts screens work in much the same way: .PP@@ -389,30 +403,30 @@ accounts which have been declared with an account directive (except for empty parent accounts). .PP-If you specify a query on the command line or with \f[C]/\f[R] in the+If you specify a query on the command line or with \f[V]/\f[R] in the app, they show just the matched accounts, and the balances from matched transactions. .PP hledger-ui shows accounts with zero balances by default (unlike command-line hledger).-To hide these, press \f[C]z\f[R] to toggle nonzero mode.+To hide these, press \f[V]z\f[R] to toggle nonzero mode. .PP-Account names are shown as a flat list by default; press \f[C]t\f[R] to+Account names are shown as a flat list by default; press \f[V]t\f[R] to toggle tree mode. In list mode, account balances are exclusive of subaccounts, except where subaccounts are hidden by a depth limit (see below). In tree mode, all account balances are inclusive of subaccounts. .PP-To see less detail, press a number key, \f[C]1\f[R] to \f[C]9\f[R], to+To see less detail, press a number key, \f[V]1\f[R] to \f[V]9\f[R], to set a depth limit.-Or use \f[C]-\f[R] to decrease and \f[C]+\f[R]/\f[C]=\f[R] to increase+Or use \f[V]-\f[R] to decrease and \f[V]+\f[R]/\f[V]=\f[R] to increase the depth limit.-\f[C]0\f[R] shows even less detail, collapsing all accounts to a single+\f[V]0\f[R] shows even less detail, collapsing all accounts to a single total. To remove the depth limit, set it higher than the maximum account depth,-or press \f[C]ESCAPE\f[R].+or press \f[V]ESCAPE\f[R]. .PP-\f[C]H\f[R] toggles between showing historical balances or period+\f[V]H\f[R] toggles between showing historical balances or period balances (on the \[dq]All accounts\[dq] screen). Historical balances (the default) are ending balances at the end of the report period, taking into account all transactions before that date@@ -424,18 +438,18 @@ they show the change in balance during the report period. They are more useful eg when viewing a time log. .PP-\f[C]U\f[R] toggles filtering by unmarked status, including or excluding+\f[V]U\f[R] toggles filtering by unmarked status, including or excluding unmarked postings in the balances.-Similarly, \f[C]P\f[R] toggles pending postings, and \f[C]C\f[R] toggles+Similarly, \f[V]P\f[R] toggles pending postings, and \f[V]C\f[R] toggles cleared postings. (By default, balances include all postings; if you activate one or two status filters, only those postings are included; and if you activate all three, the filter is removed.) .PP-\f[C]R\f[R] toggles real mode, in which virtual postings are ignored.+\f[V]R\f[R] toggles real mode, in which virtual postings are ignored. .PP-Press \f[C]RIGHT\f[R] to view an account\[aq]s register screen, Or,-\f[C]LEFT\f[R] to see the menu screen.+Press \f[V]RIGHT\f[R] to view an account\[aq]s register screen, Or,+\f[V]LEFT\f[R] to see the menu screen. .SS Register .PP This screen shows the transactions affecting a particular account, like@@ -451,7 +465,7 @@ .IP \[bu] 2 the running historical total or period total for the current account, after the transaction.-This can be toggled with \f[C]H\f[R].+This can be toggled with \f[V]H\f[R]. Similar to the accounts screen, the historical total is affected by transactions (filtered by the filter query) before the report start date, while the period total is not.@@ -465,23 +479,23 @@ a depth limit. In other words, the register always shows the transactions contributing to the balance shown on the accounts screen.-Tree mode/list mode can be toggled with \f[C]t\f[R] here also.+Tree mode/list mode can be toggled with \f[V]t\f[R] here also. .PP-\f[C]U\f[R] toggles filtering by unmarked status, showing or hiding+\f[V]U\f[R] toggles filtering by unmarked status, showing or hiding unmarked transactions.-Similarly, \f[C]P\f[R] toggles pending transactions, and \f[C]C\f[R]+Similarly, \f[V]P\f[R] toggles pending transactions, and \f[V]C\f[R] toggles cleared transactions. (By default, transactions with all statuses are shown; if you activate one or two status filters, only those transactions are shown; and if you activate all three, the filter is removed.) .PP-\f[C]R\f[R] toggles real mode, in which virtual postings are ignored.+\f[V]R\f[R] toggles real mode, in which virtual postings are ignored. .PP-\f[C]z\f[R] toggles nonzero mode, in which only transactions posting a+\f[V]z\f[R] toggles nonzero mode, in which only transactions posting a nonzero change are shown (hledger-ui shows zero items by default, unlike command-line hledger). .PP-Press \f[C]RIGHT\f[R] to view the selected transaction in detail.+Press \f[V]RIGHT\f[R] to view the selected transaction in detail. .SS Transaction .PP This screen shows a single transaction, as a general journal entry,@@ -493,7 +507,7 @@ Simple transactions have two postings, but there can be more (or in certain cases, fewer). .PP-\f[C]UP\f[R] and \f[C]DOWN\f[R] will step through all transactions+\f[V]UP\f[R] and \f[V]DOWN\f[R] will step through all transactions listed in the previous account register screen. In the title bar, the numbers in parentheses show your position within that account register.@@ -513,7 +527,7 @@ .SS Watch mode .PP One of hledger-ui\[aq]s best features is the auto-reloading-\f[C]-w/--watch\f[R] mode.+\f[V]-w/--watch\f[R] mode. With this flag, it will update the display automatically whenever changes are saved to the data files. .PP@@ -537,25 +551,25 @@ Here are some current limitations to be aware of: .PP Changes might not be detected with certain editors, possibly including-Jetbrains IDEs, \f[C]gedit\f[R], other Gnome applications; or on certain+Jetbrains IDEs, \f[V]gedit\f[R], other Gnome applications; or on certain unusual filesystems. (#1617, #911).-To work around, reload manually by pressing \f[C]g\f[R] in the+To work around, reload manually by pressing \f[V]g\f[R] in the hledger-ui window. (Or see #1617 for another workaround, and let us know if it works for you.) .PP CPU and memory usage can sometimes gradually increase, if-\f[C]hledger-ui --watch\f[R] is left running for days.+\f[V]hledger-ui --watch\f[R] is left running for days. (Possibly correlated with certain platforms, many transactions, and/or large numbers of other files present).-To work around, \f[C]q\f[R]uit and restart it, or (where supported)-suspend (\f[C]CTRL-z\f[R]) and restart it (\f[C]fg\f[R]).+To work around, \f[V]q\f[R]uit and restart it, or (where supported)+suspend (\f[V]CTRL-z\f[R]) and restart it (\f[V]fg\f[R]). .SS Debug output .PP-You can add \f[C]--debug[=N]\f[R] to the command line to log debug+You can add \f[V]--debug[=N]\f[R] to the command line to log debug output.-This will be logged to the file \f[C]hledger-ui.log\f[R] in the current+This will be logged to the file \f[V]hledger-ui.log\f[R] in the current directory. N ranges from 1 (least output, the default) to 9 (maximum output). .SH ENVIRONMENT@@ -564,19 +578,19 @@ Default: the full terminal width. .PP \f[B]LEDGER_FILE\f[R] The journal file path when not specified with-\f[C]-f\f[R].+\f[V]-f\f[R]. .PP On unix computers, the default value is:-\f[C]\[ti]/.hledger.journal\f[R].+\f[V]\[ti]/.hledger.journal\f[R]. .PP A more typical value is something like-\f[C]\[ti]/finance/YYYY.journal\f[R], where \f[C]\[ti]/finance\f[R] is a+\f[V]\[ti]/finance/YYYY.journal\f[R], where \f[V]\[ti]/finance\f[R] is a version-controlled finance directory and YYYY is the current year.-Or, \f[C]\[ti]/finance/current.journal\f[R], where current.journal is a+Or, \f[V]\[ti]/finance/current.journal\f[R], where current.journal is a symbolic link to YYYY.journal. .PP The usual way to set this permanently is to add a command to one of your-shell\[aq]s startup files (eg \f[C]\[ti]/.profile\f[R]):+shell\[aq]s startup files (eg \f[V]\[ti]/.profile\f[R]): .IP .nf \f[C]@@ -587,7 +601,7 @@ On some Mac computers, there is a more thorough way to set environment variables, that will also affect applications started from the GUI (eg, Emacs started from a dock icon): In-\f[C]\[ti]/.MacOSX/environment.plist\f[R], add an entry like:+\f[V]\[ti]/.MacOSX/environment.plist\f[R], add an entry like: .IP .nf \f[C]@@ -597,11 +611,11 @@ \f[R] .fi .PP-For this to take effect you might need to \f[C]killall Dock\f[R], or+For this to take effect you might need to \f[V]killall Dock\f[R], or reboot. .PP On Windows computers, the default value is probably-\f[C]C:\[rs]Users\[rs]YOURNAME\[rs].hledger.journal\f[R].+\f[V]C:\[rs]Users\[rs]YOURNAME\[rs].hledger.journal\f[R]. You can change this by running a command like this in a powershell window (let us know if you need to be an Administrator, and if this persists across a reboot):@@ -616,24 +630,22 @@ https://www.java.com/en/download/help/path.html. .SH FILES .PP-Reads data from one or more files in hledger journal, timeclock,-timedot, or CSV format specified with \f[C]-f\f[R], or-\f[C]$LEDGER_FILE\f[R], or \f[C]$HOME/.hledger.journal\f[R] (on windows,-perhaps \f[C]C:/Users/USER/.hledger.journal\f[R]).+Reads data from one or more files in journal, timeclock, timedot, or CSV+format.+The default file is \f[V].hledger.journal\f[R] in your home directory;+this can be overridden with one or more \f[V]-f FILE\f[R] options, or+the \f[V]LEDGER_FILE\f[R] environment variable. .SH BUGS .PP-The need to precede options with \f[C]--\f[R] when invoked from hledger-is awkward.-.PP-\f[C]-f-\f[R] doesn\[aq]t work (hledger-ui can\[aq]t read from stdin).+\f[V]-f-\f[R] doesn\[aq]t work (hledger-ui can\[aq]t read from stdin). .PP-\f[C]-V\f[R] affects only the accounts screen.+\f[V]-V\f[R] affects only the accounts screen. .PP-When you press \f[C]g\f[R], the current and all previous screens are+When you press \f[V]g\f[R], the current and all previous screens are regenerated, which may cause a noticeable pause with large files. Also there is no visual indication that this is in progress. .PP-\f[C]--watch\f[R] is not yet fully robust.+\f[V]--watch\f[R] is not yet fully robust. It works well for normal usage, but many file changes in a short time (eg saving the file thousands of times with an editor macro) can cause problems at least on OSX.@@ -643,21 +655,23 @@ until the program is restarted. .PP Also, if you are viewing files mounted from another machine,-\f[C]-w/--watch\f[R] requires that both machine clocks are roughly in+\f[V]-w/--watch\f[R] requires that both machine clocks are roughly in step.   .SH "REPORTING BUGS" Report bugs at http://bugs.hledger.org-(or on the #hledger IRC channel or hledger mail list)+(or on the #hledger chat or hledger mail list)  .SH AUTHORS-Simon Michael <simon@joyful.com> and contributors+Simon Michael <simon@joyful.com> and contributors.+.br+See http://hledger.org/CREDITS.html  .SH COPYRIGHT+Copyright 2007-2023 Simon Michael and contributors. -Copyright (C) 2007-2020 Simon Michael.-.br+.SH LICENSE Released under GNU GPL v3 or later.  .SH SEE ALSO
hledger-ui.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.0.+-- This file has been generated from package.yaml by hpack version 0.35.1. -- -- see: https://github.com/sol/hpack  name:           hledger-ui-version:        1.28+version:        1.29 synopsis:       Curses-style terminal interface for the hledger accounting system description:    A simple curses-style terminal user interface for the hledger accounting system.                 It can be a more convenient way to browse your accounts than the CLI.@@ -67,7 +67,7 @@   hs-source-dirs:       ./   ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind-  cpp-options: -DVERSION="1.28"+  cpp-options: -DVERSION="1.29"   build-depends:       ansi-terminal >=0.9     , async@@ -81,8 +81,8 @@     , extra >=1.6.3     , filepath     , fsnotify ==0.4.*-    , hledger ==1.28.*-    , hledger-lib ==1.28.*+    , hledger ==1.29.*+    , hledger-lib ==1.29.*     , megaparsec >=7.0.0 && <9.4     , microlens >=0.4     , microlens-platform >=0.2.3.1
hledger-ui.info view
@@ -1,4 +1,4 @@-This is hledger-ui.info, produced by makeinfo version 6.8 from stdin.+This is hledger-ui.info, produced by makeinfo version 7.0.1 from stdin.  INFO-DIR-SECTION User Applications START-INFO-DIR-ENTRY@@ -11,32 +11,35 @@ hledger-ui(1) ************* -hledger-ui is a terminal interface (TUI) for the hledger accounting-tool.  This manual is for hledger-ui 1.28.+hledger-ui - robust, friendly plain text accounting (TUI version) -   'hledger-ui [OPTIONS] [QUERYARGS]'-'hledger ui -- [OPTIONS] [QUERYARGS]'+   ‘hledger-ui [OPTIONS] [QUERYARGS]’+‘hledger ui -- [OPTIONS] [QUERYARGS]’ -   hledger is a reliable, cross-platform set of programs for tracking-money, time, or any other commodity, using double-entry accounting and a-simple, editable file format.  hledger is inspired by and largely-compatible with ledger(1).+   This manual is for hledger’s terminal interface, version 1.29.  See+also the hledger manual for common concepts and file formats. -   hledger-ui is hledger's terminal interface, providing an efficient+   hledger is a robust, user-friendly, cross-platform set of programs+for tracking money, time, or any other commodity, using double-entry+accounting and a simple, editable file format.  hledger is inspired by+and largely compatible with ledger(1), and largely interconvertible with+beancount(1).++   hledger-ui is hledger’s terminal interface, providing an efficient full-window text UI for viewing accounts and transactions, and some-limited data entry capability.  It is easier than hledger's command-line+limited data entry capability.  It is easier than hledger’s command-line interface, and sometimes quicker and more convenient than the web interface. -   Like hledger, it reads data from one or more files in hledger-journal, timeclock, timedot, or CSV format specified with '-f', or-'$LEDGER_FILE', or '$HOME/.hledger.journal' (on windows, perhaps-'C:/Users/USER/.hledger.journal').  For more about this see hledger(1),-hledger_journal(5) etc.+   Like hledger, it reads data from one or more files in journal,+timeclock, timedot, or CSV format.  The default file is+‘.hledger.journal’ in your home directory; this can be overridden with+one or more ‘-f FILE’ options, or the ‘LEDGER_FILE’ environment+variable.  For more about this see hledger(1), hledger_journal(5) etc.     Unlike hledger, hledger-ui hides all future-dated transactions by default.  They can be revealed, along with any rule-generated periodic-transactions, by pressing the F key (or starting with -forecast) to+transactions, by pressing the F key (or starting with –forecast) to enable "forecast mode".  * Menu:@@ -56,173 +59,173 @@ 1 OPTIONS ********* -Note: if invoking hledger-ui as a hledger subcommand, write '--' before+Note: if invoking hledger-ui as a hledger subcommand, write ‘--’ before options as shown above.     Any QUERYARGS are interpreted as a hledger search query which filters the data. -'-w --watch'+‘-w --watch’       watch for data and date changes and reload automatically-'--theme=default|terminal|greenterm'+‘--theme=default|terminal|greenterm’       use this custom display theme-'--menu'+‘--menu’       start in the menu screen-'--all'+‘--all’       start in the all accounts screen-'--bs'+‘--bs’       start in the balance sheet accounts screen-'--is'+‘--is’       start in the income statement accounts screen-'--register=ACCTREGEX'+‘--register=ACCTREGEX’ -     start in the (first) matched account's register screen-'--change'+     start in the (first) matched account’s register screen+‘--change’       show period balances (changes) at startup instead of historical      balances-'-l --flat'+‘-l --flat’       show accounts as a flat list (default)-'-t --tree'+‘-t --tree’       show accounts as a tree     hledger input options: -'-f FILE --file=FILE'+‘-f FILE --file=FILE’       use a different input file.  For stdin, use - (default:-     '$LEDGER_FILE' or '$HOME/.hledger.journal')-'--rules-file=RULESFILE'+     ‘$LEDGER_FILE’ or ‘$HOME/.hledger.journal’)+‘--rules-file=RULESFILE’       Conversion rules file to use when reading CSV (default: FILE.rules)-'--separator=CHAR'+‘--separator=CHAR’ -     Field separator to expect when reading CSV (default: ',')-'--alias=OLD=NEW'+     Field separator to expect when reading CSV (default: ’,’)+‘--alias=OLD=NEW’       rename accounts named OLD to NEW-'--anon'+‘--anon’       anonymize accounts and payees-'--pivot FIELDNAME'+‘--pivot FIELDNAME’       use some other field or tag for the account name-'-I --ignore-assertions'+‘-I --ignore-assertions’       disable balance assertion checks (note: does not disable balance      assignments)-'-s --strict'+‘-s --strict’       do extra error checking (check that all posted accounts are      declared)     hledger reporting options: -'-b --begin=DATE'+‘-b --begin=DATE’       include postings/txns on or after this date (will be adjusted to      preceding subperiod start when using a report interval)-'-e --end=DATE'+‘-e --end=DATE’       include postings/txns before this date (will be adjusted to      following subperiod end when using a report interval)-'-D --daily'+‘-D --daily’       multiperiod/multicolumn report by day-'-W --weekly'+‘-W --weekly’       multiperiod/multicolumn report by week-'-M --monthly'+‘-M --monthly’       multiperiod/multicolumn report by month-'-Q --quarterly'+‘-Q --quarterly’       multiperiod/multicolumn report by quarter-'-Y --yearly'+‘-Y --yearly’       multiperiod/multicolumn report by year-'-p --period=PERIODEXP'+‘-p --period=PERIODEXP’       set start date, end date, and/or reporting interval all at once      using period expressions syntax-'--date2'+‘--date2’       match the secondary date instead (see command help for other      effects)-'--today=DATE'+‘--today=DATE’ -     override today's date (affects relative smart dates, for+     override today’s date (affects relative smart dates, for      tests/examples)-'-U --unmarked'+‘-U --unmarked’       include only unmarked postings/txns (can combine with -P or -C)-'-P --pending'+‘-P --pending’       include only pending postings/txns-'-C --cleared'+‘-C --cleared’       include only cleared postings/txns-'-R --real'+‘-R --real’       include only non-virtual postings-'-NUM --depth=NUM'+‘-NUM --depth=NUM’       hide/aggregate accounts or postings more than NUM levels deep-'-E --empty'+‘-E --empty’       show items with zero amount, normally hidden (and vice-versa in      hledger-ui/hledger-web)-'-B --cost'+‘-B --cost’       convert amounts to their cost/selling amount at transaction time-'-V --market'+‘-V --market’       convert amounts to their market value in default valuation      commodities-'-X --exchange=COMM'+‘-X --exchange=COMM’       convert amounts to their market value in commodity COMM-'--value'+‘--value’       convert amounts to cost or market value, more flexibly than      -B/-V/-X-'--infer-market-prices'+‘--infer-market-prices’       use transaction prices (recorded with @ or @@) as additional market      prices, as if they were P directives-'--auto'+‘--auto’       apply automated posting rules to modify transactions.-'--forecast'+‘--forecast’       generate future transactions from periodic transaction rules, for      the next 6 months or till report end date.  In hledger-ui, also      make ordinary future transactions visible.-'--commodity-style'+‘--commodity-style’       Override the commodity style in the output for the specified-     commodity.  For example 'EUR1.000,00'.-'--color=WHEN (or --colour=WHEN)'+     commodity.  For example ’EUR1.000,00’.+‘--color=WHEN (or --colour=WHEN)’       Should color-supporting commands use ANSI color codes in text-     output.  'auto' (default): whenever stdout seems to be a-     color-supporting terminal.  'always' or 'yes': always, useful eg-     when piping output into 'less -R'. 'never' or 'no': never.  A+     output.  ’auto’ (default): whenever stdout seems to be a+     color-supporting terminal.  ’always’ or ’yes’: always, useful eg+     when piping output into ’less -R’.  ’never’ or ’no’: never.  A      NO_COLOR environment variable overrides this.-'--pretty[=WHEN]'+‘--pretty[=WHEN]’       Show prettier output, e.g.  using unicode box-drawing characters.-     Accepts 'yes' (the default) or 'no' ('y', 'n', 'always', 'never'-     also work).  If you provide an argument you must use '=', e.g.-     '-pretty=yes'.+     Accepts ’yes’ (the default) or ’no’ (’y’, ’n’, ’always’, ’never’+     also work).  If you provide an argument you must use ’=’, e.g.+     ’–pretty=yes’.     When a reporting option appears more than once in the command line, the last one takes precedence.@@ -231,25 +234,25 @@     hledger help options: -'-h --help'+‘-h --help’       show general or COMMAND help-'--man'+‘--man’       show general or COMMAND user manual with man-'--info'+‘--info’       show general or COMMAND user manual with info-'--version'+‘--version’       show general or ADDONCMD version-'--debug[=N]'+‘--debug[=N]’       show debug output (levels 1-9, default: 1)     A @FILE argument will be expanded to the contents of FILE, which should contain one command line option/argument per line.  (To prevent-this, insert a '--' argument before.)+this, insert a ‘--’ argument before.)   File: hledger-ui.info,  Node: MOUSE,  Next: KEYS,  Prev: OPTIONS,  Up: Top@@ -260,9 +263,9 @@ In most modern terminals, you can navigate through the screens with a mouse or touchpad: -   * Use mouse wheel or trackpad to scroll up and down-   * Click on list items to go deeper-   * Click on the left margin (column 0) to go back.+   • Use mouse wheel or trackpad to scroll up and down+   • Click on list items to go deeper+   • Click on the left margin (column 0) to go back.   File: hledger-ui.info,  Node: KEYS,  Next: SCREENS,  Prev: MOUSE,  Up: Top@@ -272,88 +275,96 @@  Keyboard gives more control. -   '?' shows a help dialog listing all keys.  (Some of these also appear-in the quick help at the bottom of each screen.)  Press '?' again (or-'ESCAPE', or 'LEFT', or 'q') to close it.  The following keys work on+   ‘?’ shows a help dialog listing all keys.  (Some of these also appear+in the quick help at the bottom of each screen.)  Press ‘?’ again (or+‘ESCAPE’, or ‘LEFT’, or ‘q’) to close it.  The following keys work on most screens: -   The cursor keys navigate: 'RIGHT' or 'ENTER' goes deeper, 'LEFT'-returns to the previous screen, 'UP'/'DOWN'/'PGUP'/'PGDN'/'HOME'/'END'+   The cursor keys navigate: ‘RIGHT’ or ‘ENTER’ goes deeper, ‘LEFT’+returns to the previous screen, ‘UP’/‘DOWN’/‘PGUP’/‘PGDN’/‘HOME’/‘END’ move up and down through lists.  Emacs-style-('CTRL-p'/'CTRL-n'/'CTRL-f'/'CTRL-b') and VI-style ('k','j','l','h')+(‘CTRL-p’/‘CTRL-n’/‘CTRL-f’/‘CTRL-b’) and VI-style (‘k’,‘j’,‘l’,‘h’) movement keys are also supported.  A tip: movement speed is limited by your keyboard repeat rate, to move faster you may want to adjust it.-(If you're on a mac, the karabiner app is one way to do that.)+(If you’re on a mac, the karabiner app is one way to do that.)     With shift pressed, the cursor keys adjust the report period, limiting the transactions to be shown (by default, all are shown).-'SHIFT-DOWN/UP' steps downward and upward through these standard report+‘SHIFT-DOWN/UP’ steps downward and upward through these standard report period durations: year, quarter, month, week, day.  Then,-'SHIFT-LEFT/RIGHT' moves to the previous/next period.  'T' sets the-report period to today.  With the '-w/--watch' option, when viewing a+‘SHIFT-LEFT/RIGHT’ moves to the previous/next period.  ‘T’ sets the+report period to today.  With the ‘-w/--watch’ option, when viewing a "current" period (the current day, week, month, quarter, or year), the period will move automatically to track the current date.  To set a-non-standard period, you can use '/' and a 'date:' query.+non-standard period, you can use ‘/’ and a ‘date:’ query. -   '/' lets you set a general filter query limiting the data shown,+   (Mac users: SHIFT-DOWN/UP keys do not work by default in Terminal, as+of MacOS Monterey.  You can configure them as follows: open Terminal,+press CMD-comma to open preferences, click Profiles, select your current+terminal profile on the left, click Keyboard on the right, click + and+add this for Shift-Down: ‘\033[1;2B’, click + and add this for Shift-Up:+‘\033[1;2A’.  Press the Escape key to enter the ‘\033’ part, you can’t+type it directly.)++   ‘/’ lets you set a general filter query limiting the data shown, using the same query terms as in hledger and hledger-web.  While editing-the query, you can use CTRL-a/e/d/k, BS, cursor keys; press 'ENTER' to-set it, or 'ESCAPE'to cancel.  There are also keys for quickly adjusting+the query, you can use CTRL-a/e/d/k, BS, cursor keys; press ‘ENTER’ to+set it, or ‘ESCAPE’to cancel.  There are also keys for quickly adjusting some common filters like account depth and transaction status (see-below).  'BACKSPACE' or 'DELETE' removes all filters, showing all+below).  ‘BACKSPACE’ or ‘DELETE’ removes all filters, showing all transactions.     As mentioned above, by default hledger-ui hides future transactions - both ordinary transactions recorded in the journal, and periodic-transactions generated by rule.  'F' toggles forecast mode, in which+transactions generated by rule.  ‘F’ toggles forecast mode, in which future/forecasted transactions are shown. -   'ESCAPE' resets the UI state and jumps back to the top screen,-restoring the app's initial state at startup.  Or, it cancels minibuffer+   ‘ESCAPE’ resets the UI state and jumps back to the top screen,+restoring the app’s initial state at startup.  Or, it cancels minibuffer data entry or the help dialog. -   'CTRL-l' redraws the screen and centers the selection if possible-(selections near the top won't be centered, since we don't scroll above+   ‘CTRL-l’ redraws the screen and centers the selection if possible+(selections near the top won’t be centered, since we don’t scroll above the top). -   'g' reloads from the data file(s) and updates the current screen and+   ‘g’ reloads from the data file(s) and updates the current screen and any previous screens.  (With large files, this could cause a noticeable pause.) -   'I' toggles balance assertion checking.  Disabling balance assertions+   ‘I’ toggles balance assertion checking.  Disabling balance assertions temporarily can be useful for troubleshooting. -   'a' runs command-line hledger's add command, and reloads the updated+   ‘a’ runs command-line hledger’s add command, and reloads the updated file.  This allows some basic data entry. -   'A' is like 'a', but runs the hledger-iadd tool, which provides a-terminal interface.  This key will be available if 'hledger-iadd' is+   ‘A’ is like ‘a’, but runs the hledger-iadd tool, which provides a+terminal interface.  This key will be available if ‘hledger-iadd’ is installed in $path. -   'E' runs $HLEDGER_UI_EDITOR, or $EDITOR, or a default ('emacsclient--a "" -nw') on the journal file.  With some editors (emacs, vi), the+   ‘E’ runs $HLEDGER_UI_EDITOR, or $EDITOR, or a default (‘emacsclient+-a "" -nw’) on the journal file.  With some editors (emacs, vi), the cursor will be positioned at the current transaction when invoked from the register and transaction screens, and at the error location (if possible) when invoked from the error screen. -   'B' toggles cost mode, showing amounts in their transaction price's-commodity (like toggling the '-B/--cost' flag).+   ‘B’ toggles cost mode, showing amounts in their cost’s commodity+(like toggling the ‘-B/--cost’ flag). -   'V' toggles value mode, showing amounts' current market value in-their default valuation commodity (like toggling the '-V/--market'+   ‘V’ toggles value mode, showing amounts’ current market value in+their default valuation commodity (like toggling the ‘-V/--market’ flag).  Note, "current market value" means the value on the report end date if specified, otherwise today.  To see the value on another date, you can temporarily set that as the report end date.  Eg: to see a transaction as it was valued on july 30, go to the accounts or register-screen, press '/', and add 'date:-7/30' to the query.+screen, press ‘/’, and add ‘date:-7/30’ to the query.     At most one of cost or value mode can be active at once. -   There's not yet any visual reminder when cost or value mode is-active; for now pressing 'b' 'b' 'v' should reliably reset to normal+   There’s not yet any visual reminder when cost or value mode is+active; for now pressing ‘b’ ‘b’ ‘v’ should reliably reset to normal mode. -   'q' quits the application.+   ‘q’ quits the application.     Additional screen-specific keys are described below. @@ -367,14 +378,14 @@ the "Balance sheet accounts" screen to start with, except in the following situations: -   * If no asset/liability/equity accounts can be detected, or if an+   • If no asset/liability/equity accounts can be detected, or if an      account query has been given on the command line, it starts in the      "All accounts" screen. -   * If a starting screen is specified with -menu/-all/-bs/-is/-register+   • If a starting screen is specified with –menu/–all/–bs/–is/–register      on the command line, it starts in that screen. -   From any screen you can press 'LEFT' or 'ESC' to navigate back to the+   From any screen you can press ‘LEFT’ or ‘ESC’ to navigate back to the top level "Menu" screen.  * Menu:@@ -404,8 +415,8 @@  This screen shows all accounts (possibly filtered by a query), and their end balances on the date shown in the title bar (or their balance-changes in the period shown in the title bar, toggleable with 'H').  It-is like the 'hledger balance' command.+changes in the period shown in the title bar, toggleable with ‘H’).  It+is like the ‘hledger balance’ command.   File: hledger-ui.info,  Node: Balance sheet accounts,  Next: Income statement accounts,  Prev: All accounts,  Up: SCREENS@@ -415,7 +426,7 @@  This screen shows asset, liability and equity accounts, if these can be detected (see account types).  It always shows end balances.  It is like-the 'hledger balancesheetequity' command.+the ‘hledger balancesheetequity’ command.   File: hledger-ui.info,  Node: Income statement accounts,  Next: Register,  Prev: Balance sheet accounts,  Up: SCREENS@@ -424,7 +435,7 @@ =============================  This screen shows revenue and expense accounts.  It always shows balance-changes.  It is like the 'hledger incomestatement' command.+changes.  It is like the ‘hledger incomestatement’ command.     All of these accounts screens work in much the same way: @@ -432,26 +443,26 @@ as accounts which have been declared with an account directive (except for empty parent accounts). -   If you specify a query on the command line or with '/' in the app,+   If you specify a query on the command line or with ‘/’ in the app, they show just the matched accounts, and the balances from matched transactions.     hledger-ui shows accounts with zero balances by default (unlike-command-line hledger).  To hide these, press 'z' to toggle nonzero mode.+command-line hledger).  To hide these, press ‘z’ to toggle nonzero mode. -   Account names are shown as a flat list by default; press 't' to+   Account names are shown as a flat list by default; press ‘t’ to toggle tree mode.  In list mode, account balances are exclusive of subaccounts, except where subaccounts are hidden by a depth limit (see below).  In tree mode, all account balances are inclusive of subaccounts. -   To see less detail, press a number key, '1' to '9', to set a depth-limit.  Or use '-' to decrease and '+'/'=' to increase the depth limit.-'0' shows even less detail, collapsing all accounts to a single total.+   To see less detail, press a number key, ‘1’ to ‘9’, to set a depth+limit.  Or use ‘-’ to decrease and ‘+’/‘=’ to increase the depth limit.+‘0’ shows even less detail, collapsing all accounts to a single total. To remove the depth limit, set it higher than the maximum account depth,-or press 'ESCAPE'.+or press ‘ESCAPE’. -   'H' toggles between showing historical balances or period balances+   ‘H’ toggles between showing historical balances or period balances (on the "All accounts" screen).  Historical balances (the default) are ending balances at the end of the report period, taking into account all transactions before that date (filtered by the filter query if any),@@ -462,16 +473,16 @@ change in balance during the report period.  They are more useful eg when viewing a time log. -   'U' toggles filtering by unmarked status, including or excluding-unmarked postings in the balances.  Similarly, 'P' toggles pending-postings, and 'C' toggles cleared postings.  (By default, balances+   ‘U’ toggles filtering by unmarked status, including or excluding+unmarked postings in the balances.  Similarly, ‘P’ toggles pending+postings, and ‘C’ toggles cleared postings.  (By default, balances include all postings; if you activate one or two status filters, only those postings are included; and if you activate all three, the filter is removed.) -   'R' toggles real mode, in which virtual postings are ignored.+   ‘R’ toggles real mode, in which virtual postings are ignored. -   Press 'RIGHT' to view an account's register screen, Or, 'LEFT' to see+   Press ‘RIGHT’ to view an account’s register screen, Or, ‘LEFT’ to see the menu screen.  @@ -483,42 +494,42 @@ This screen shows the transactions affecting a particular account, like a check register.  Each line represents one transaction and shows: -   * the other account(s) involved, in abbreviated form.  (If there are+   • the other account(s) involved, in abbreviated form.  (If there are      both real and virtual postings, it shows only the accounts affected      by real postings.) -   * the overall change to the current account's balance; positive for+   • the overall change to the current account’s balance; positive for      an inflow to this account, negative for an outflow. -   * the running historical total or period total for the current-     account, after the transaction.  This can be toggled with 'H'.+   • the running historical total or period total for the current+     account, after the transaction.  This can be toggled with ‘H’.      Similar to the accounts screen, the historical total is affected by      transactions (filtered by the filter query) before the report start      date, while the period total is not.  If the historical total is      not disturbed by a filter query, it will be the running historical      balance you would see on a bank register for the current account. -   Transactions affecting this account's subaccounts will be included in-the register if the accounts screen is in tree mode, or if it's in list+   Transactions affecting this account’s subaccounts will be included in+the register if the accounts screen is in tree mode, or if it’s in list mode but this account has subaccounts which are not shown due to a depth limit.  In other words, the register always shows the transactions contributing to the balance shown on the accounts screen.  Tree-mode/list mode can be toggled with 't' here also.+mode/list mode can be toggled with ‘t’ here also. -   'U' toggles filtering by unmarked status, showing or hiding unmarked-transactions.  Similarly, 'P' toggles pending transactions, and 'C'+   ‘U’ toggles filtering by unmarked status, showing or hiding unmarked+transactions.  Similarly, ‘P’ toggles pending transactions, and ‘C’ toggles cleared transactions.  (By default, transactions with all statuses are shown; if you activate one or two status filters, only those transactions are shown; and if you activate all three, the filter is removed.) -   'R' toggles real mode, in which virtual postings are ignored.+   ‘R’ toggles real mode, in which virtual postings are ignored. -   'z' toggles nonzero mode, in which only transactions posting a+   ‘z’ toggles nonzero mode, in which only transactions posting a nonzero change are shown (hledger-ui shows zero items by default, unlike command-line hledger). -   Press 'RIGHT' to view the selected transaction in detail.+   Press ‘RIGHT’ to view the selected transaction in detail.   File: hledger-ui.info,  Node: Transaction,  Next: Error,  Prev: Register,  Up: SCREENS@@ -527,20 +538,20 @@ ===============  This screen shows a single transaction, as a general journal entry,-similar to hledger's print command and journal format+similar to hledger’s print command and journal format (hledger_journal(5)). -   The transaction's date(s) and any cleared flag, transaction code,+   The transaction’s date(s) and any cleared flag, transaction code, description, comments, along with all of its account postings are shown. Simple transactions have two postings, but there can be more (or in certain cases, fewer). -   'UP' and 'DOWN' will step through all transactions listed in the+   ‘UP’ and ‘DOWN’ will step through all transactions listed in the previous account register screen.  In the title bar, the numbers in parentheses show your position within that account register.  They will vary depending on which account register you came from (remember most transactions appear in multiple account registers).  The #N number-preceding them is the transaction's position within the complete+preceding them is the transaction’s position within the complete unfiltered journal, which is a more stable id (at least until the next reload). @@ -572,12 +583,12 @@ 5.1 Watch mode ============== -One of hledger-ui's best features is the auto-reloading '-w/--watch'+One of hledger-ui’s best features is the auto-reloading ‘-w/--watch’ mode.  With this flag, it will update the display automatically whenever changes are saved to the data files.     This is very useful when reconciling.  A good workflow is to have-your bank's online register open in a browser window, for reference; the+your bank’s online register open in a browser window, for reference; the journal file open in an editor window; and hledger-ui in watch mode in a terminal window, eg: @@ -592,16 +603,16 @@    Here are some current limitations to be aware of:     Changes might not be detected with certain editors, possibly-including Jetbrains IDEs, 'gedit', other Gnome applications; or on+including Jetbrains IDEs, ‘gedit’, other Gnome applications; or on certain unusual filesystems.  (#1617, #911).  To work around, reload-manually by pressing 'g' in the hledger-ui window.  (Or see #1617 for+manually by pressing ‘g’ in the hledger-ui window.  (Or see #1617 for another workaround, and let us know if it works for you.) -   CPU and memory usage can sometimes gradually increase, if 'hledger-ui---watch' is left running for days.  (Possibly correlated with certain+   CPU and memory usage can sometimes gradually increase, if ‘hledger-ui+--watch’ is left running for days.  (Possibly correlated with certain platforms, many transactions, and/or large numbers of other files-present).  To work around, 'q'uit and restart it, or (where supported)-suspend ('CTRL-z') and restart it ('fg').+present).  To work around, ‘q’uit and restart it, or (where supported)+suspend (‘CTRL-z’) and restart it (‘fg’).   File: hledger-ui.info,  Node: Debug output,  Prev: Watch mode,  Up: TIPS@@ -609,8 +620,8 @@ 5.2 Debug output ================ -You can add '--debug[=N]' to the command line to log debug output.  This-will be logged to the file 'hledger-ui.log' in the current directory.  N+You can add ‘--debug[=N]’ to the command line to log debug output.  This+will be logged to the file ‘hledger-ui.log’ in the current directory.  N ranges from 1 (least output, the default) to 9 (maximum output).  @@ -621,33 +632,33 @@  *COLUMNS* The screen width to use.  Default: the full terminal width. -   *LEDGER_FILE* The journal file path when not specified with '-f'.+   *LEDGER_FILE* The journal file path when not specified with ‘-f’. -   On unix computers, the default value is: '~/.hledger.journal'.+   On unix computers, the default value is: ‘~/.hledger.journal’. -   A more typical value is something like '~/finance/YYYY.journal',-where '~/finance' is a version-controlled finance directory and YYYY is-the current year.  Or, '~/finance/current.journal', where+   A more typical value is something like ‘~/finance/YYYY.journal’,+where ‘~/finance’ is a version-controlled finance directory and YYYY is+the current year.  Or, ‘~/finance/current.journal’, where current.journal is a symbolic link to YYYY.journal.     The usual way to set this permanently is to add a command to one of-your shell's startup files (eg '~/.profile'):+your shell’s startup files (eg ‘~/.profile’):  export LEDGER_FILE=~/finance/current.journal`     On some Mac computers, there is a more thorough way to set environment variables, that will also affect applications started from the GUI (eg, Emacs started from a dock icon): In-'~/.MacOSX/environment.plist', add an entry like:+‘~/.MacOSX/environment.plist’, add an entry like:  {   "LEDGER_FILE" : "~/finance/current.journal" } -   For this to take effect you might need to 'killall Dock', or reboot.+   For this to take effect you might need to ‘killall Dock’, or reboot.     On Windows computers, the default value is probably-'C:\Users\YOURNAME\.hledger.journal'.  You can change this by running a+‘C:\Users\YOURNAME\.hledger.journal’.  You can change this by running a command like this in a powershell window (let us know if you need to be an Administrator, and if this persists across a reboot): @@ -662,10 +673,10 @@ 7 FILES ******* -Reads data from one or more files in hledger journal, timeclock,-timedot, or CSV format specified with '-f', or '$LEDGER_FILE', or-'$HOME/.hledger.journal' (on windows, perhaps-'C:/Users/USER/.hledger.journal').+Reads data from one or more files in journal, timeclock, timedot, or CSV+format.  The default file is ‘.hledger.journal’ in your home directory;+this can be overridden with one or more ‘-f FILE’ options, or the+‘LEDGER_FILE’ environment variable.   File: hledger-ui.info,  Node: BUGS,  Prev: FILES,  Up: Top@@ -673,18 +684,15 @@ 8 BUGS ****** -The need to precede options with '--' when invoked from hledger is-awkward.--   '-f-' doesn't work (hledger-ui can't read from stdin).+‘-f-’ doesn’t work (hledger-ui can’t read from stdin). -   '-V' affects only the accounts screen.+   ‘-V’ affects only the accounts screen. -   When you press 'g', the current and all previous screens are+   When you press ‘g’, the current and all previous screens are regenerated, which may cause a noticeable pause with large files.  Also there is no visual indication that this is in progress. -   '--watch' is not yet fully robust.  It works well for normal usage,+   ‘--watch’ is not yet fully robust.  It works well for normal usage, but many file changes in a short time (eg saving the file thousands of times with an editor macro) can cause problems at least on OSX. Symptoms include: unresponsive UI, periodic resetting of the cursor position,@@ -693,45 +701,45 @@ program is restarted.     Also, if you are viewing files mounted from another machine,-'-w/--watch' requires that both machine clocks are roughly in step.+‘-w/--watch’ requires that both machine clocks are roughly in step.   Tag Table:-Node: Top221-Node: OPTIONS1654-Ref: #options1752-Node: MOUSE6836-Ref: #mouse6931-Node: KEYS7168-Ref: #keys7261-Node: SCREENS11336-Ref: #screens11434-Node: Menu12120-Ref: #menu12212-Node: All accounts12289-Ref: #all-accounts12428-Node: Balance sheet accounts12679-Ref: #balance-sheet-accounts12859-Node: Income statement accounts13047-Ref: #income-statement-accounts13229-Node: Register15649-Ref: #register15786-Node: Transaction17770-Ref: #transaction17893-Node: Error18763-Ref: #error18857-Node: TIPS19101-Ref: #tips19200-Node: Watch mode19242-Ref: #watch-mode19349-Node: Debug output20805-Ref: #debug-output20916-Node: ENVIRONMENT21128-Ref: #environment21239-Node: FILES22624-Ref: #files22723-Node: BUGS22936-Ref: #bugs23013+Node: Top223+Node: OPTIONS1869+Ref: #options1967+Node: MOUSE7334+Ref: #mouse7429+Node: KEYS7672+Ref: #keys7765+Node: SCREENS12524+Ref: #screens12622+Node: Menu13330+Ref: #menu13422+Node: All accounts13499+Ref: #all-accounts13638+Node: Balance sheet accounts13897+Ref: #balance-sheet-accounts14077+Node: Income statement accounts14269+Ref: #income-statement-accounts14451+Node: Register16945+Ref: #register17082+Node: Transaction19110+Ref: #transaction19233+Node: Error20117+Ref: #error20211+Node: TIPS20455+Ref: #tips20554+Node: Watch mode20596+Ref: #watch-mode20703+Node: Debug output22191+Ref: #debug-output22302+Node: ENVIRONMENT22522+Ref: #environment22633+Node: FILES24056+Ref: #files24155+Node: BUGS24415+Ref: #bugs24492  End Tag Table 
hledger-ui.txt view
@@ -4,41 +4,44 @@   NAME-       hledger-ui  is  a  terminal  interface (TUI) for the hledger accounting-       tool.  This manual is for hledger-ui 1.28.+       hledger-ui - robust, friendly plain text accounting (TUI version)  SYNOPSIS        hledger-ui [OPTIONS] [QUERYARGS]        hledger ui -- [OPTIONS] [QUERYARGS]  DESCRIPTION-       hledger is a reliable, cross-platform  set  of  programs  for  tracking-       money,  time, or any other commodity, using double-entry accounting and-       a simple, editable file format.  hledger is  inspired  by  and  largely-       compatible with ledger(1).+       This  manual  is  for  hledger's terminal interface, version 1.29.  See+       also the hledger manual for common concepts and file formats. -       hledger-ui  is  hledger's  terminal  interface,  providing an efficient-       full-window text UI for viewing accounts  and  transactions,  and  some-       limited  data  entry  capability.  It is easier than hledger's command--       line interface, and sometimes quicker and more convenient than the  web+       hledger is a robust, user-friendly, cross-platform set of programs  for+       tracking  money,  time,  or  any  other  commodity,  using double-entry+       accounting and a simple, editable file format.  hledger is inspired  by+       and  largely  compatible  with  ledger(1), and largely interconvertible+       with beancount(1).++       hledger-ui is hledger's  terminal  interface,  providing  an  efficient+       full-window  text  UI  for  viewing accounts and transactions, and some+       limited data entry capability.  It is easier  than  hledger's  command-+       line  interface, and sometimes quicker and more convenient than the web        interface. -       Like  hledger, it reads data from one or more files in hledger journal,-       timeclock, timedot, or CSV format specified with -f,  or  $LEDGER_FILE,-       or        $HOME/.hledger.journal       (on       windows,       perhaps-       C:/Users/USER/.hledger.journal).  For more about this  see  hledger(1),-       hledger_journal(5) etc.+       Like hledger, it reads data from one or more files  in  journal,  time-+       clock, timedot, or CSV format.  The default file is .hledger.journal in+       your home directory; this can be overridden with one or  more  -f  FILE+       options,  or the LEDGER_FILE environment variable.  For more about this+       see hledger(1), hledger_journal(5) etc. -       Unlike  hledger,  hledger-ui  hides  all  future-dated  transactions by-       default.  They can be revealed, along with any rule-generated  periodic-       transactions,  by  pressing  the F key (or starting with --forecast) to+       Unlike hledger,  hledger-ui  hides  all  future-dated  transactions  by+       default.   They can be revealed, along with any rule-generated periodic+       transactions, by pressing the F key (or starting  with  --forecast)  to        enable "forecast mode".  OPTIONS-       Note: if invoking hledger-ui as a hledger subcommand, write  --  before+       Note:  if  invoking hledger-ui as a hledger subcommand, write -- before        options as shown above. -       Any  QUERYARGS  are interpreted as a hledger search query which filters+       Any QUERYARGS are interpreted as a hledger search query  which  filters        the data.         -w --watch@@ -59,7 +62,7 @@               start in the (first) matched account's register screen         --change-              show period balances (changes) at startup instead of  historical+              show  period balances (changes) at startup instead of historical               balances         -l --flat@@ -75,7 +78,7 @@               $LEDGER_FILE or $HOME/.hledger.journal)         --rules-file=RULESFILE-              Conversion  rules  file  to  use  when  reading  CSV   (default:+              Conversion   rules  file  to  use  when  reading  CSV  (default:               FILE.rules)         --separator=CHAR@@ -94,7 +97,7 @@               assignments)         -s --strict-              do extra error checking (check  that  all  posted  accounts  are+              do  extra  error  checking  (check  that all posted accounts are               declared)         hledger reporting options:@@ -123,15 +126,15 @@               multiperiod/multicolumn report by year         -p --period=PERIODEXP-              set  start date, end date, and/or reporting interval all at once+              set start date, end date, and/or reporting interval all at  once               using period expressions syntax         --date2-              match the secondary date instead (see  command  help  for  other+              match  the  secondary  date  instead (see command help for other               effects)         --today=DATE-              override   today's  date  (affects  relative  smart  dates,  for+              override  today's  date  (affects  relative  smart  dates,   for               tests/examples)         -U --unmarked@@ -150,49 +153,49 @@               hide/aggregate accounts or postings more than NUM levels deep         -E --empty-              show items with zero amount, normally hidden (and vice-versa  in+              show  items with zero amount, normally hidden (and vice-versa in               hledger-ui/hledger-web)         -B --cost               convert amounts to their cost/selling amount at transaction time         -V --market-              convert amounts to their market value in default valuation  com-+              convert  amounts to their market value in default valuation com-               modities         -X --exchange=COMM               convert amounts to their market value in commodity COMM         --value-              convert  amounts  to  cost  or  market value, more flexibly than+              convert amounts to cost or  market  value,  more  flexibly  than               -B/-V/-X         --infer-market-prices-              use transaction prices (recorded with @  or  @@)  as  additional+              use  transaction  prices  (recorded  with @ or @@) as additional               market prices, as if they were P directives         --auto apply automated posting rules to modify transactions.         --forecast-              generate  future  transactions  from periodic transaction rules,-              for the next 6 months or till report end date.   In  hledger-ui,+              generate future transactions from  periodic  transaction  rules,+              for  the  next 6 months or till report end date.  In hledger-ui,               also make ordinary future transactions visible.         --commodity-style-              Override  the  commodity  style  in the output for the specified+              Override the commodity style in the  output  for  the  specified               commodity.  For example 'EUR1.000,00'.         --color=WHEN (or --colour=WHEN)-              Should color-supporting commands use ANSI color  codes  in  text-              output.   'auto' (default): whenever stdout seems to be a color--              supporting terminal.  'always' or 'yes': always, useful eg  when-              piping  output  into  'less  -R'.   'never'  or  'no': never.  A+              Should  color-supporting  commands  use ANSI color codes in text+              output.  'auto' (default): whenever stdout seems to be a  color-+              supporting  terminal.  'always' or 'yes': always, useful eg when+              piping output into  'less  -R'.   'never'  or  'no':  never.   A               NO_COLOR environment variable overrides this.         --pretty[=WHEN]-              Show prettier output, e.g.  using  unicode  box-drawing  charac--              ters.   Accepts 'yes' (the default) or 'no' ('y', 'n', 'always',-              'never' also work).  If you provide an  argument  you  must  use+              Show  prettier  output,  e.g.  using unicode box-drawing charac-+              ters.  Accepts 'yes' (the default) or 'no' ('y', 'n',  'always',+              'never'  also  work).   If  you provide an argument you must use               '=', e.g.  '--pretty=yes'.         When a reporting option appears more than once in the command line, the@@ -216,11 +219,11 @@               show debug output (levels 1-9, default: 1)         A @FILE argument will be expanded to the contents of FILE, which should-       contain  one  command line option/argument per line.  (To prevent this,+       contain one command line option/argument per line.  (To  prevent  this,        insert a -- argument before.)  MOUSE-       In most modern terminals, you can navigate through the screens  with  a+       In  most  modern terminals, you can navigate through the screens with a        mouse or touchpad:         o Use mouse wheel or trackpad to scroll up and down@@ -232,9 +235,10 @@ KEYS        Keyboard gives more control. -       ?  shows a help dialog listing all keys.  (Some of these also appear in-       the quick help at the bottom of each screen.) Press ? again (or ESCAPE,-       or LEFT, or q) to close it.  The following keys work on most screens:+       ? shows a help dialog listing all keys.  (Some of these also appear  in+       the  quick  help  at  the  bottom  of  each screen.)  Press ? again (or+       ESCAPE, or LEFT, or q) to close it.  The following keys  work  on  most+       screens:         The  cursor  keys navigate: RIGHT or ENTER goes deeper, LEFT returns to        the  previous  screen,  UP/DOWN/PGUP/PGDN/HOME/END  move  up  and  down@@ -254,6 +258,14 @@        ically to track the current date.  To set a  non-standard  period,  you        can use / and a date: query. +       (Mac  users:  SHIFT-DOWN/UP keys do not work by default in Terminal, as+       of MacOS Monterey.  You can configure them as follows:  open  Terminal,+       press  CMD-comma  to open preferences, click Profiles, select your cur-+       rent terminal profile on the left, click Keyboard on the right, click ++       and add this for Shift-Down: \033[1;2B, click + and add this for Shift-+       Up: \033[1;2A.  Press the Escape key to enter the \033 part, you  can't+       type it directly.)+        /  lets  you  set a general filter query limiting the data shown, using        the same query terms as in hledger and hledger-web.  While editing  the        query,  you  can  use CTRL-a/e/d/k, BS, cursor keys; press ENTER to set@@ -294,8 +306,8 @@        register and transaction screens, and at the error location (if  possi-        ble) when invoked from the error screen. -       B  toggles cost mode, showing amounts in their transaction price's com--       modity (like toggling the -B/--cost flag).+       B  toggles  cost  mode, showing amounts in their cost's commodity (like+       toggling the -B/--cost flag).         V toggles value mode, showing amounts' current market  value  in  their        default  valuation  commodity  (like  toggling  the  -V/--market flag).@@ -536,27 +548,24 @@        load/help/path.html.  FILES-       Reads  data from one or more files in hledger journal, timeclock, time--       dot,  or  CSV  format  specified   with   -f,   or   $LEDGER_FILE,   or-       $HOME/.hledger.journal           (on          windows,          perhaps-       C:/Users/USER/.hledger.journal).+       Reads  data  from  one or more files in journal, timeclock, timedot, or+       CSV format.  The default file is .hledger.journal in your  home  direc-+       tory;  this  can be overridden with one or more -f FILE options, or the+       LEDGER_FILE environment variable.  BUGS-       The need to precede options with -- when invoked from hledger  is  awk--       ward.-        -f- doesn't work (hledger-ui can't read from stdin).         -V affects only the accounts screen.         When you press g, the current and all previous screens are regenerated,-       which may cause a noticeable pause with large files.  Also there is  no+       which  may cause a noticeable pause with large files.  Also there is no        visual indication that this is in progress. -       --watch  is  not yet fully robust.  It works well for normal usage, but-       many file changes in a short time (eg  saving  the  file  thousands  of-       times  with an editor macro) can cause problems at least on OSX.  Symp--       toms include: unresponsive UI, periodic resetting of the  cursor  posi-+       --watch is not yet fully robust.  It works well for normal  usage,  but+       many  file  changes  in  a  short time (eg saving the file thousands of+       times with an editor macro) can cause problems at least on OSX.   Symp-+       toms  include:  unresponsive UI, periodic resetting of the cursor posi-        tion, momentary display of parse errors, high CPU usage eventually sub-        siding, and possibly a small but persistent build-up of CPU usage until        the program is restarted.@@ -567,16 +576,20 @@   REPORTING BUGS-       Report bugs at http://bugs.hledger.org (or on the #hledger IRC  channel-       or hledger mail list)+       Report  bugs  at  http://bugs.hledger.org  (or  on the #hledger chat or+       hledger mail list)   AUTHORS-       Simon Michael <simon@joyful.com> and contributors+       Simon Michael <simon@joyful.com> and contributors.+       See http://hledger.org/CREDITS.html   COPYRIGHT-       Copyright (C) 2007-2020 Simon Michael.+       Copyright 2007-2023 Simon Michael and contributors.+++LICENSE        Released under GNU GPL v3 or later.  @@ -585,4 +598,4 @@   -hledger-ui-1.28                  December 2022                   HLEDGER-UI(1)+hledger-ui-1.29                   March 2023                     HLEDGER-UI(1)