PatR
2ef0291d15
context-sensitive inventory item-action split
...
When picking an item from inventory and then picking 'I - adjust
inventory by splitting this stack' in the item-action menu,
yn_function("Split off how many?") is used to start getting the
count without needing to wait for <return>. It includes the response
in message history (so review of history will see that first digit).
The code then uses get_count() to obtain any additional digits. Tell
the latter to store "Count: N" in message history if N is different
from the first digit.
That's not as good as updating message history to replace the entry
showing the prompt with the first digit with one that shows the full
count but at least it's accurate when the count is 10 or more.
2022-05-18 01:17:14 -07:00
..
2022-02-04 11:01:20 -05:00
2022-03-13 13:58:56 -07:00
2022-05-05 10:26:58 -04:00
2020-10-14 09:25:45 -07:00
2022-01-29 11:13:01 -08:00
2020-08-03 22:07:36 -04:00
2020-08-03 22:07:36 -04:00
2020-08-03 22:07:36 -04:00
2021-07-24 17:52:47 -04:00
2022-05-07 14:34:06 -04:00
2022-03-04 13:07:14 -08:00
2020-08-03 22:07:36 -04:00
2022-05-07 10:25:13 -04:00
2022-04-27 11:22:12 -07:00
2020-08-03 22:07:36 -04:00
2022-05-16 09:46:36 -07:00
2021-01-26 21:06:16 -05:00
2021-10-16 12:12:21 -04:00
2020-08-03 22:07:36 -04:00
2022-05-17 16:52:06 -07:00
2022-05-07 10:25:13 -04:00
2021-10-16 12:12:21 -04:00
2022-02-07 14:22:41 -08:00
2022-05-07 17:45:36 -04:00
2022-05-18 01:17:14 -07:00
2020-08-03 22:07:36 -04:00
2022-03-11 07:33:28 -05:00
2021-01-20 22:18:34 -06:00
2020-08-03 22:07:36 -04:00
2021-12-26 00:16:55 -08:00
2020-08-03 22:07:36 -04:00
2020-08-03 22:07:36 -04:00
2021-09-19 20:52:19 +03:00
2020-12-04 09:30:21 +02:00
2022-02-12 17:29:32 +02:00
2022-02-16 23:04:02 +02:00
2022-03-18 10:19:04 +02:00
2022-03-26 11:23:06 -07:00
2022-02-02 05:26:03 -08:00
2022-01-28 08:30:08 +02:00
2022-03-15 07:41:53 +02:00
2022-05-07 10:25:13 -04:00
2022-05-09 09:15:17 -04:00
2021-10-16 12:12:21 -04:00
2021-08-21 07:59:18 -04:00
2020-08-03 22:07:36 -04:00
2021-05-23 11:11:58 +03:00
2020-08-03 22:07:36 -04:00
2021-12-19 19:31:19 -08:00
2022-04-27 15:43:18 -07:00
2020-08-03 22:07:36 -04:00
2022-03-17 17:17:13 -04:00
2022-03-09 07:06:37 -08:00
2022-05-07 10:25:13 -04:00
2022-03-02 13:09:42 -08:00
2022-02-01 13:03:41 -05:00
2020-08-03 22:07:36 -04:00
2020-08-12 16:15:28 -07:00
2021-10-16 12:12:21 -04:00
2022-03-15 13:46:56 +02:00
2022-01-04 08:24:08 -05:00
2022-04-27 11:22:12 -07:00
2021-10-05 01:11:24 -07:00
2021-10-21 08:48:23 -04:00
2021-10-16 12:12:21 -04:00
2021-10-22 12:27:10 -04:00
2020-08-03 22:07:36 -04:00
2022-05-07 10:25:13 -04:00
2022-03-16 21:27:06 -04:00
2022-05-07 10:25:13 -04:00
2022-05-07 10:25:13 -04:00
2022-05-07 10:25:13 -04:00
2022-01-29 16:28:06 -05:00
2021-01-26 10:27:51 -05:00
2020-08-03 22:07:36 -04:00
2022-04-27 11:04:12 -07:00
2022-01-11 10:25:50 -08:00