@@ -38,7 +38,9 @@ pip install textual-dev -U
38
38
<a name =" how-can-i-select-and-copy-text-in-a-textual-app " ></a >
39
39
## How can I select and copy text in a Textual app?
40
40
41
- Running a Textual app puts your terminal in to * application mode* which disables clicking and dragging to select text.
41
+ Textual supports text selection for most widgets, via click and drag. Press ctrl+c to copy.
42
+
43
+ For widgets that don't yet support text selection, you can try and use your terminal's builtin support.
42
44
Most terminal emulators offer a modifier key which you can hold while you click and drag to restore the behavior you
43
45
may expect from the command line. The exact modifier key depends on the terminal and platform you are running on.
44
46
@@ -220,21 +222,6 @@ Greetings("Well hello", "there").run()
220
222
221
223
---
222
224
223
- <a name =" no-widget-called-textlog " ></a >
224
- ## No widget called TextLog
225
-
226
- The ` TextLog ` widget was renamed to ` RichLog ` in Textual 0.32.0.
227
- You will need to replace all references to ` TextLog ` in your code, with ` RichLog ` .
228
- Most IDEs will have a search and replace function which will help you do this.
229
-
230
- Here's how you should import RichLog:
231
-
232
- ``` python
233
- from textual.widgets import RichLog
234
- ```
235
-
236
- ---
237
-
238
225
<a name =" why-do-some-key-combinations-never-make-it-to-my-app " ></a >
239
226
## Why do some key combinations never make it to my app?
240
227
@@ -325,17 +312,4 @@ There is currently a light and dark version of the design system, but more are p
325
312
326
313
---
327
314
328
- <a name =" why-doesnt-the-datatable-scroll-programmatically " ></a >
329
- ## Why doesn't the ` DataTable ` scroll programmatically?
330
-
331
- If scrolling in your ` DataTable ` is _ apparently_ broken, it may be because your ` DataTable ` is using the default value of ` height: auto ` .
332
- This means that the table will be sized to fit its rows without scrolling, which may cause the * container* (typically the screen) to scroll.
333
- If you would like the table itself to scroll, set the height to something other than ` auto ` , like ` 100% ` .
334
-
335
- !!! note
336
-
337
- As of Textual v0.31.0 the `max-height` of a `DataTable` is set to `100%`, this will mean that the above is no longer the default experience.
338
-
339
- ---
340
-
341
315
Generated by [ FAQtory] ( https://github.com/willmcgugan/faqtory )
0 commit comments